Skip to content

Commit

Permalink
https://github.com/near/near-wallet/issues/2387
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Kouprin committed Jan 19, 2022
1 parent 5f4b763 commit ef2bbf7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified multisig/res/multisig.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion multisig/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl Default for MultiSigContract {
impl MultiSigContract {
/// Initialize multisig contract.
/// @params num_confirmations: k of n signatures required to perform operations.
#[init]
#[init(ignore_state)]
pub fn new(num_confirmations: u32) -> Self {
assert!(!env::state_exists(), "Already initialized");
Self {
Expand Down
Binary file modified multisig2/res/multisig2.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion multisig2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ impl MultiSigContract {
/// Initialize multisig contract.
/// @params members: list of {"account_id": "name"} or {"public_key": "key"} members.
/// @params num_confirmations: k of n signatures required to perform operations.
#[init]
#[init(ignore_state)]
pub fn new(members: Vec<MultisigMember>, num_confirmations: u32) -> Self {
assert(
members.len() >= num_confirmations as usize,
Expand Down

0 comments on commit ef2bbf7

Please sign in to comment.