Skip to content

Commit 3c0dfc8

Browse files
FairyFromAlfeyaRexagon
authored andcommitted
fix: default wallet id fix for wallet-v5r1
1 parent 6adf7e8 commit 3c0dfc8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/client/AccountsStorage/WalletV5R1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class WalletV5R1Account implements Account {
8383

8484
const params: nt.TokensObject = {
8585
op: PREFIX.SIGNED_EXTERNAL,
86-
walletId: this.nonce || 0,
86+
walletId: this.nonce || 0x7fffff11,
8787
validUntil,
8888
seqno,
8989
actions,
@@ -95,7 +95,7 @@ export class WalletV5R1Account implements Account {
9595
);
9696

9797
const data: nt.TokensObject = {
98-
walletId: this.nonce || 0,
98+
walletId: this.nonce || 0x7fffff11,
9999
validUntil,
100100
seqno,
101101
actions,
@@ -149,7 +149,7 @@ const makeStateInit = (publicKey: BigNumber, nonce?: number): { boc: string; has
149149
const tokens: nt.TokensObject = {
150150
isSignatureAllowed: true,
151151
seqno: 0,
152-
walletId: nonce || 0,
152+
walletId: nonce || 0x7fffff11,
153153
publicKey: publicKey.toFixed(0),
154154
extensions: null,
155155
};

0 commit comments

Comments
 (0)