Skip to content

Commit

Permalink
fix: getRewardAddresses is not part of wallet object. Therefore check…
Browse files Browse the repository at this point in the history
…ing the enable function
  • Loading branch information
fabianbormann committed Aug 10, 2023
1 parent 06e725e commit 8751130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class Wallet {

if (
typeof cardano[walletName] !== 'undefined' &&
typeof cardano[walletName].getRewardAddresses === 'function'
typeof cardano[walletName].enable === 'function'
) {
let api: any = {};

Expand Down

0 comments on commit 8751130

Please sign in to comment.