Cargo fmt
This commit is contained in:
parent
b6b3e2fa39
commit
4622f408e2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue