From a16bd0c4a13f61d7e061020b8a4951fdc4a315e9 Mon Sep 17 00:00:00 2001 From: Warren He Date: Mon, 14 Oct 2024 13:18:57 -0700 Subject: [PATCH] ts-web/ext-utils: sample-ext use new hdkey API --- client-sdk/ts-web/ext-utils/sample-ext/src/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client-sdk/ts-web/ext-utils/sample-ext/src/index.js b/client-sdk/ts-web/ext-utils/sample-ext/src/index.js index a847031e80..b117459826 100644 --- a/client-sdk/ts-web/ext-utils/sample-ext/src/index.js +++ b/client-sdk/ts-web/ext-utils/sample-ext/src/index.js @@ -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); })(); }