Skip to content

Commit ef2bbf7

Browse files
author
Alex Kouprin
committed
https://github.com/near/near-wallet/issues/2387
1 parent 5f4b763 commit ef2bbf7

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

multisig/res/multisig.wasm

-3.77 KB
Binary file not shown.

multisig/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl Default for MultiSigContract {
9999
impl MultiSigContract {
100100
/// Initialize multisig contract.
101101
/// @params num_confirmations: k of n signatures required to perform operations.
102-
#[init]
102+
#[init(ignore_state)]
103103
pub fn new(num_confirmations: u32) -> Self {
104104
assert!(!env::state_exists(), "Already initialized");
105105
Self {

multisig2/res/multisig2.wasm

-6.51 KB
Binary file not shown.

multisig2/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl MultiSigContract {
144144
/// Initialize multisig contract.
145145
/// @params members: list of {"account_id": "name"} or {"public_key": "key"} members.
146146
/// @params num_confirmations: k of n signatures required to perform operations.
147-
#[init]
147+
#[init(ignore_state)]
148148
pub fn new(members: Vec<MultisigMember>, num_confirmations: u32) -> Self {
149149
assert(
150150
members.len() >= num_confirmations as usize,

0 commit comments

Comments
 (0)