Skip to content

Commit

Permalink
updates naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
ckartik committed Dec 22, 2023
1 parent f50fa35 commit 251dd4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/PreConfirmations.sol
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ contract PreConfCommitmentStore is Ownable {

address commiterAddress = preConfHash.recover(commitmentSignature);

require(allowance > bid, "Stake too low");
require(allowance > bid, "allowance too low");

PreConfCommitment memory newCommitment = PreConfCommitment(
false,
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IPreConfirmations.sol
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ interface IPreConfCommitmentStore {
uint64 blockNumber,
string memory txnHash,
bytes calldata bidSignature
) external view returns (bytes32 messageDigest, address recoveredAddress, uint256 stake);
) external view returns (bytes32 messageDigest, address recoveredAddress, uint256 allowance);

function storeCommitment(
uint64 bid,
Expand Down

0 comments on commit 251dd4b

Please sign in to comment.