Skip to content

Commit 8696a15

Browse files
committed
style: fix typo cancelation -> cancellation
1 parent db2c2b9 commit 8696a15

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/contracts/contracts/NoteStream.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ contract NoteStream is Pausable, ReentrancyGuard {
322322

323323
// Check that cancellation transaction is valid and perform transfer
324324
// i.e. Each party receives a note of correct value
325-
StreamUtilities._processCancelation(
325+
StreamUtilities._processCancellation(
326326
aceContractAddress,
327327
_proof2,
328328
withdrawalNoteHash,

packages/contracts/contracts/StreamUtilities.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ library StreamUtilities {
262262
return newStreamNote.noteHash;
263263
}
264264

265-
function _processCancelation(
265+
function _processCancellation(
266266
address _aceContractAddress,
267267
bytes memory _proof2,
268268
bytes32 _withdrawalNoteHash,

packages/contracts/contracts/mocks/StreamUtilitiesMock.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ contract StreamUtilitiesMock {
8383
);
8484
}
8585

86-
function processCancelation(
86+
function processCancellation(
8787
address _aceContractAddress,
8888
bytes memory _proof2,
8989
bytes32 _proof1OutputNotes,
9090
Types.AztecStream memory _stream
9191
) public returns (bool) {
9292
stream = _stream;
9393
return
94-
StreamUtilities._processCancelation(
94+
StreamUtilities._processCancellation(
9595
_aceContractAddress,
9696
_proof2,
9797
_proof1OutputNotes,

packages/contracts/test/StreamUtilities/processCancellation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('StreamUtilities - processCancellation', function () {
7676
const badProofData = badProof.encodeABI(zkAsset.address);
7777

7878
await expect(
79-
streamUtilitiesMock.processCancelation(
79+
streamUtilitiesMock.processCancellation(
8080
ace.address,
8181
badProofData,
8282
withdrawalNote.noteHash,
@@ -149,7 +149,7 @@ describe('StreamUtilities - processCancellation', function () {
149149
const proofData = proof.encodeABI(zkAsset.address);
150150

151151
await expect(
152-
streamUtilitiesMock.processCancelation(
152+
streamUtilitiesMock.processCancellation(
153153
ace.address,
154154
proofData,
155155
withdrawalNote.noteHash,

0 commit comments

Comments
 (0)