Skip to content

Commit ec56cb0

Browse files
authored
Fix transfer example for V5R1 wallet (#778)
https://github.com/ton-blockchain/wallet-contract-v5/blob/88557ebc33047a95207f6e47ac8aadb102dff744/contracts/wallet_v5.fc#L82 Transfer will fail without IGNORE_ERRORS flag with 137 exit code
1 parent ad459ef commit ec56cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/develop/dapps/cookbook.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ let seqno: number = await contract.getSeqno();
373373
await contract.sendTransfer({
374374
secretKey: keyPair.secretKey,
375375
seqno,
376-
sendMode: SendMode.PAY_GAS_SEPARATELY,
376+
sendMode: SendMode.PAY_GAS_SEPARATELY + SendMode.IGNORE_ERRORS,
377377
messages: [
378378
internal({
379379
to: 'EQCD39VS5jcptHL8vMjEXrzGaRcCVYto7HUn4bpAOg8xqB2N',

0 commit comments

Comments
 (0)