Skip to content

Commit

Permalink
ts-web/ext-utils: sample-ext use new hdkey API
Browse files Browse the repository at this point in the history
  • Loading branch information
pro-wh committed Oct 15, 2024
1 parent 8ed962e commit a16bd0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client-sdk/ts-web/ext-utils/sample-ext/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ function getSigner() {
);
}
}
const pair = await oasis.hdkey.HDKey.getAccountSigner(mnemonic);
const rawSigner = new oasis.signature.NaclSigner(pair, 'this key is not important');
const rawSigner = await oasis.hdkey.HDKey.getAccountSigner(mnemonic);
return new oasis.signature.BlindContextSigner(rawSigner);
})();
}
Expand Down

0 comments on commit a16bd0c

Please sign in to comment.