Skip to content

Commit

Permalink
fix(mocks): return value in withdraw mock
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Jun 3, 2024
1 parent 542cd4b commit 2f9a9e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/mocks/WithdrawPrincipleMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ contract WithdrawPrincipleMock is IWithdraw {

function depositTo(uint32 clientChainLzId, bytes memory assetsAddress, bytes memory stakerAddress, uint256 opAmount)
external
returns (bool success, uint256 latestAssetState)
returns (bool, uint256)
{
principleBalances[clientChainLzId][assetsAddress][stakerAddress] += opAmount;
return (true, principleBalances[clientChainLzId][assetsAddress][stakerAddress]);
}

function withdrawPrinciple(
Expand Down

0 comments on commit 2f9a9e7

Please sign in to comment.