We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06e1597 commit 4ec72e2Copy full SHA for 4ec72e2
cardano-wasm/npm-wrapper/api.test.js
@@ -23,7 +23,8 @@ describe('Cardano API', () => {
23
const outputAddress = "addr_test1vzpfxhjyjdlgk5c0xt8xw26avqxs52rtf69993j4tajehpcue4v2v";
24
25
// Restore wallet and verify the address
26
- const wallet = await api.restoreTestnetPaymentWalletFromSigningKeyBech32(PREVIEW_MAGIC_NUMBER, secretKey);
+ const wallet = await api.wallet.testnet.restoreTestnetPaymentWalletFromSigningKeyBech32(PREVIEW_MAGIC_NUMBER, secretKey);
27
+
28
const bech32Address = await wallet.getAddressBech32();
29
expect(bech32Address).toBe(expectedAddress);
30
0 commit comments