File tree 4 files changed +2
-2
lines changed 4 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ impl Default for MultiSigContract {
99
99
impl MultiSigContract {
100
100
/// Initialize multisig contract.
101
101
/// @params num_confirmations: k of n signatures required to perform operations.
102
- #[ init]
102
+ #[ init( ignore_state ) ]
103
103
pub fn new ( num_confirmations : u32 ) -> Self {
104
104
assert ! ( !env:: state_exists( ) , "Already initialized" ) ;
105
105
Self {
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ impl MultiSigContract {
144
144
/// Initialize multisig contract.
145
145
/// @params members: list of {"account_id": "name"} or {"public_key": "key"} members.
146
146
/// @params num_confirmations: k of n signatures required to perform operations.
147
- #[ init]
147
+ #[ init( ignore_state ) ]
148
148
pub fn new ( members : Vec < MultisigMember > , num_confirmations : u32 ) -> Self {
149
149
assert (
150
150
members. len ( ) >= num_confirmations as usize ,
You can’t perform that action at this time.
0 commit comments