Cargo fmt

This commit is contained in:
Armani Ferrante 2022-01-27 11:35:16 -05:00
parent b6b3e2fa39
commit 4622f408e2
No known key found for this signature in database
GPG Key ID: D597A80BCF8E12B7
1 changed files with 4 additions and 1 deletions

View File

@ -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;