Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dovgopoly committed Oct 9, 2024
1 parent 8771120 commit cadc8ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/mock/utils/StackMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ contract StackMock {
MemoryUint.Uint512 memory a_ = mem_.newUint512(hex"10");
MemoryUint.Uint512 memory b_ = mem_.newUint512(hex"20");

return MemoryUint.modadd(mem_, a_, b_);
return MemoryUint.add(mem_, a_, b_);
}
}
2 changes: 1 addition & 1 deletion contracts/utils/MemoryUint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ library MemoryUint {
}
}

function modadd(
function add(
SharedMemory memory mem_,
Uint512 memory a_,
Uint512 memory b_
Expand Down

0 comments on commit cadc8ba

Please sign in to comment.