Skip to content

Commit 1b5a223

Browse files
committed
update bootstrap
1 parent d51cacd commit 1b5a223

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

examples/bootstrap/bootstrap.c3

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,7 @@ fn usz do_upgrade(char* data, usz pos, usz len)
337337
ulong min_memo_gas = read_u64_le(data, pos); pos += 8;
338338

339339
log::info("boot", "Upgrade");
340-
if (catch err = service::upgrade(&code_hash, min_acc_gas, min_memo_gas)) {
341-
log::warn("boot", "upgrade failed");
342-
return 0;
343-
}
344-
340+
service::upgrade(&code_hash, min_acc_gas, min_memo_gas);
345341
return pos;
346342
}
347343

jamc3.c3l

0 commit comments

Comments
 (0)