From 03781769d0d20c28acdf96edf87a6ac840d52994 Mon Sep 17 00:00:00 2001 From: sunbreak1211 Date: Mon, 3 Jun 2024 12:34:28 -0300 Subject: [PATCH] Minor change to a mock --- test/mocks/VoteDelegateMock.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mocks/VoteDelegateMock.sol b/test/mocks/VoteDelegateMock.sol index 794555c..0d724dd 100644 --- a/test/mocks/VoteDelegateMock.sol +++ b/test/mocks/VoteDelegateMock.sol @@ -34,7 +34,7 @@ contract VoteDelegateMock { function lock(uint256 wad) external { gov.transferFrom(msg.sender, address(this), wad); - stake[msg.sender] = stake[msg.sender] + wad; + stake[msg.sender] += wad; } function free(uint256 wad) external {