Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8182b3e commit e324260Copy full SHA for e324260
src/OakSecurityCosmWasmCTF/04-Gram/src/exploit.rs
@@ -74,6 +74,7 @@ pub mod exploit {
74
75
let balance = app.wrap().query_balance(player_addr, DENOM).unwrap();
76
let profit = balance.amount - player_initial_balance.amount;
77
+ assert!(profit > Uint128::zero());
78
println!("Profit: {}", profit);
79
}
80
0 commit comments