Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
armaniferrante committed Jan 27, 2022
1 parent b6b3e2f commit 4622f40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion programs/multisig/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ pub mod serum_multisig {
nonce: u8,
) -> Result<()> {
assert_unique_owners(&owners)?;
require!(threshold > 0 && threshold <= owners.len() as u64, InvalidThreshold);
require!(
threshold > 0 && threshold <= owners.len() as u64,
InvalidThreshold
);
require!(!owners.is_empty(), InvalidOwnersLen);

let multisig = &mut ctx.accounts.multisig;
Expand Down

0 comments on commit 4622f40

Please sign in to comment.