mirror of
https://github.com/averel10/crypto_clash.git
synced 2026-03-12 19:08:11 +01:00
revert the second require
This commit is contained in:
@@ -57,7 +57,7 @@ contract Game {
|
||||
require(msg.value >= BET_MIN, "Minimum bet not met");
|
||||
require(
|
||||
games[gameId].initialBet == 0 ||
|
||||
msg.value >= games[gameId].initialBet,
|
||||
msg.value == games[gameId].initialBet,
|
||||
"Bet value must match initial bet"
|
||||
);
|
||||
_;
|
||||
|
||||
Reference in New Issue
Block a user