Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
Uncle Stinky 2026-10-09 15:23:20 +03:00
parent f3e7122d43
commit e3a81e3902
Signed by: st1nky
GPG Key ID: 016064BD97603B40
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "ghost-exodus"
version = "0.0.19"
version = "0.0.20"
description = "Threshold signature generation with DKG included"
license.workspace = true
authors.workspace = true

View File

@ -387,7 +387,7 @@ where
sp_runtime::Rounding::Down
)?;
let bounty_uint32 = scaled_bounty as u32;
let bounty_uint32 = scaled_bounty.min(u32::MAX as u128) as u32;
buffer[28..32].copy_from_slice(&bounty_uint32.to_be_bytes());
let mut amount_buffer = [0u8; 32];