mirror of
https://github.com/averel10/crypto_clash.git
synced 2026-03-12 10:58: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(msg.value >= BET_MIN, "Minimum bet not met");
|
||||||
require(
|
require(
|
||||||
games[gameId].initialBet == 0 ||
|
games[gameId].initialBet == 0 ||
|
||||||
msg.value >= games[gameId].initialBet,
|
msg.value == games[gameId].initialBet,
|
||||||
"Bet value must match initial bet"
|
"Bet value must match initial bet"
|
||||||
);
|
);
|
||||||
_;
|
_;
|
||||||
|
|||||||
Reference in New Issue
Block a user