Skip to content

Commit

Permalink
TDD: calling SAN_FRANCISCO_49ERS_bettors() should return 4:
Browse files Browse the repository at this point in the history
     AssertionError: expected 4 to be an instance of BN or string
  • Loading branch information
cNoveron committed Feb 2, 2020
1 parent 1222ff9 commit 18b6fd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/SportsBook.sol
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ contract SportsBook is WhitelistAdminRole, ReentrancyGuard {
? SAN_FRANCISCO_49ERS_pool = SAN_FRANCISCO_49ERS_pool.add(betAmount)
: KANSAS_CITY_CHIEFS_pool = KANSAS_CITY_CHIEFS_pool.add(betAmount);
totalPool = totalPool.add(betAmount);
SAN_FRANCISCO_49ERS_bettors++;
KANSAS_CITY_CHIEFS_bettors++;
deposit(msg.sender,betAmount);
}
}

0 comments on commit 18b6fd5

Please sign in to comment.