Skip to content

Commit

Permalink
Update src/coinbase/coinbase.ts
Browse files Browse the repository at this point in the history
Co-authored-by: John-peterson-coinbase <[email protected]>
  • Loading branch information
erdimaden and John-peterson-coinbase authored May 13, 2024
1 parent 623997a commit 60a7953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coinbase/coinbase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class Coinbase {
const config = JSON.parse(data);

// return a new instance of Coinbase
if (!config.apiKeyName || !config.privateKey) {
if (!config.name || !config.privateKey) {
throw InvalidConfiguration;
}
return new Coinbase(config.apiKeyName, config.privateKey);
Expand Down

0 comments on commit 60a7953

Please sign in to comment.