mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 05:13:08 +00:00
fix: use u128::MAX instead of overflowing 2.pow(128)
This commit is contained in:
parent
fcdd6e96a5
commit
5d30de695f
@ -1367,7 +1367,7 @@ mod tests {
|
||||
}
|
||||
|
||||
fn mint_overflow() -> u128 {
|
||||
2_u128.pow(128) - 40_000
|
||||
u128::MAX - 40_000
|
||||
}
|
||||
|
||||
fn init_supply_mint() -> u128 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user