Skip to content

Commit

Permalink
Bounce message in case plugin initialization fails
Browse files Browse the repository at this point in the history
  • Loading branch information
akifoq committed Oct 31, 2021
1 parent 12cbb3e commit 201ca5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion func/wallet-v4-code.fc
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
int plugin_address = cell_hash(state_init);
slice wc_n_address = begin_cell().store_int(plugin_workchain, 8).store_uint(plugin_address, 256).end_cell().begin_parse();
var msg = begin_cell()
.store_uint(0x10, 6)
.store_uint(0x18, 6)
.store_uint(4, 3).store_slice(wc_n_address)
.store_grams(plugin_balance)
.store_uint(4 + 2 + 1, 1 + 4 + 4 + 64 + 32 + 1 + 1 + 1)
Expand Down

0 comments on commit 201ca5f

Please sign in to comment.