Skip to content

Commit

Permalink
u128 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
volovyks committed Aug 26, 2024
1 parent 551af20 commit 26d2e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain-signatures/contract/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ impl VersionedMpcContract {
}
// Check deposit
let deposit = env::attached_deposit();
let required_deposit = self.experimental_signature_deposit();
let required_deposit: u128 = self.experimental_signature_deposit().into();
if deposit.as_yoctonear() < required_deposit {
return Err(InvalidParameters::InsufficientDeposit.message(format!(
"Attached {}, Required {}",
Expand Down

0 comments on commit 26d2e0e

Please sign in to comment.