mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-08-24 22:29:22 +00:00
fix: use u128::MAX instead of overflowing 2.pow(128)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user