Skip to content

Commit 982f304

Browse files
author
Trinketer22
committed
Minor fix
1 parent 047852a commit 982f304

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

wrappers/wallet-v5.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,7 @@ export class WalletV5 implements Contract {
182182
}
183183

184184
async sendExternalSignedMessage(provider: ContractProvider, body: Cell) {
185-
await provider.external(
186-
beginCell()
187-
// .storeUint(Opcodes.auth_signed, 32) // Is signed inside message
188-
.storeSlice(body.beginParse())
189-
.endCell()
190-
);
185+
await provider.external(body);
191186
}
192187

193188
async sendExternal(provider: ContractProvider, body: Cell) {
@@ -242,7 +237,7 @@ export class WalletV5 implements Contract {
242237
);
243238

244239
return dict.keys().map(key => {
245-
const wc = 0n;
240+
const wc = this.address.workChain;
246241
const addressHex = key;
247242
return Address.parseRaw(`${wc}:${addressHex.toString(16).padStart(64, '0')}`);
248243
});

0 commit comments

Comments
 (0)