diff --git a/packages/contracts/contracts/NoteStream.sol b/packages/contracts/contracts/NoteStream.sol index 8f1a5fd..80e5842 100644 --- a/packages/contracts/contracts/NoteStream.sol +++ b/packages/contracts/contracts/NoteStream.sol @@ -322,7 +322,7 @@ contract NoteStream is Pausable, ReentrancyGuard { // Check that cancellation transaction is valid and perform transfer // i.e. Each party receives a note of correct value - StreamUtilities._processCancelation( + StreamUtilities._processCancellation( aceContractAddress, _proof2, withdrawalNoteHash, diff --git a/packages/contracts/contracts/StreamUtilities.sol b/packages/contracts/contracts/StreamUtilities.sol index ede09df..2ff44a6 100644 --- a/packages/contracts/contracts/StreamUtilities.sol +++ b/packages/contracts/contracts/StreamUtilities.sol @@ -262,7 +262,7 @@ library StreamUtilities { return newStreamNote.noteHash; } - function _processCancelation( + function _processCancellation( address _aceContractAddress, bytes memory _proof2, bytes32 _withdrawalNoteHash, diff --git a/packages/contracts/contracts/mocks/StreamUtilitiesMock.sol b/packages/contracts/contracts/mocks/StreamUtilitiesMock.sol index 3dd59a1..ca15722 100644 --- a/packages/contracts/contracts/mocks/StreamUtilitiesMock.sol +++ b/packages/contracts/contracts/mocks/StreamUtilitiesMock.sol @@ -83,7 +83,7 @@ contract StreamUtilitiesMock { ); } - function processCancelation( + function processCancellation( address _aceContractAddress, bytes memory _proof2, bytes32 _proof1OutputNotes, @@ -91,7 +91,7 @@ contract StreamUtilitiesMock { ) public returns (bool) { stream = _stream; return - StreamUtilities._processCancelation( + StreamUtilities._processCancellation( _aceContractAddress, _proof2, _proof1OutputNotes, diff --git a/packages/contracts/test/StreamUtilities/processCancellation.js b/packages/contracts/test/StreamUtilities/processCancellation.js index 484d551..a6662ad 100644 --- a/packages/contracts/test/StreamUtilities/processCancellation.js +++ b/packages/contracts/test/StreamUtilities/processCancellation.js @@ -76,7 +76,7 @@ describe('StreamUtilities - processCancellation', function () { const badProofData = badProof.encodeABI(zkAsset.address); await expect( - streamUtilitiesMock.processCancelation( + streamUtilitiesMock.processCancellation( ace.address, badProofData, withdrawalNote.noteHash, @@ -149,7 +149,7 @@ describe('StreamUtilities - processCancellation', function () { const proofData = proof.encodeABI(zkAsset.address); await expect( - streamUtilitiesMock.processCancelation( + streamUtilitiesMock.processCancellation( ace.address, proofData, withdrawalNote.noteHash,