@@ -69,7 +69,7 @@ describe('PersonalWallet/cip30WalletApi', () => {
6969
7070 it ( 'can signData with bech32 base address' , async ( ) => {
7171 const [ { address, index } ] = await firstValueFrom ( wallet . addresses$ ) ;
72- const paymentKeyHex = bip32Account . derivePublicKey ( { index, role : KeyRole . External } ) ;
72+ const paymentKeyHex = await bip32Account . derivePublicKey ( { index, role : KeyRole . External } ) ;
7373
7474 const signature = await walletApi . signData ( { sender : '' } as unknown as SenderContext , address , HexBlob ( 'abc123' ) ) ;
7575
@@ -79,7 +79,7 @@ describe('PersonalWallet/cip30WalletApi', () => {
7979 it ( 'can signData with hex-encoded base address' , async ( ) => {
8080 const [ { address, index } ] = await firstValueFrom ( wallet . addresses$ ) ;
8181 const addressHex = Cardano . Address . fromBech32 ( address ) . toBytes ( ) ;
82- const paymentKeyHex = bip32Account . derivePublicKey ( { index, role : KeyRole . External } ) ;
82+ const paymentKeyHex = await bip32Account . derivePublicKey ( { index, role : KeyRole . External } ) ;
8383
8484 const signature = await walletApi . signData (
8585 { sender : '' } as unknown as SenderContext ,
@@ -92,7 +92,7 @@ describe('PersonalWallet/cip30WalletApi', () => {
9292
9393 it ( 'can signData with bech32 base address' , async ( ) => {
9494 const [ { rewardAccount, index } ] = await firstValueFrom ( wallet . addresses$ ) ;
95- const stakeKeyHex = bip32Account . derivePublicKey ( { index, role : KeyRole . Stake } ) ;
95+ const stakeKeyHex = await bip32Account . derivePublicKey ( { index, role : KeyRole . Stake } ) ;
9696
9797 const signature = await walletApi . signData (
9898 { sender : '' } as unknown as SenderContext ,
@@ -106,7 +106,7 @@ describe('PersonalWallet/cip30WalletApi', () => {
106106 it ( 'can signData with hex-encoded reward account' , async ( ) => {
107107 const [ { rewardAccount, index } ] = await firstValueFrom ( wallet . addresses$ ) ;
108108 const rewardAccountHex = Cardano . Address . fromBech32 ( rewardAccount ) . toBytes ( ) ;
109- const stakeKeyHex = bip32Account . derivePublicKey ( { index, role : KeyRole . Stake } ) ;
109+ const stakeKeyHex = await bip32Account . derivePublicKey ( { index, role : KeyRole . Stake } ) ;
110110
111111 const signature = await walletApi . signData (
112112 { sender : '' } as unknown as SenderContext ,
0 commit comments