Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
duckception committed Jan 21, 2022
1 parent bc56f37 commit 254757d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion contracts/libs/Transition.sol
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ library Transition {
from
);
if (result != Types.Result.Ok) return (newRoot, "", result);
freshState = createState(from.state.pubkeyID, tokenID, _tx.amount, from.state.nonce);
freshState = createState(
from.state.pubkeyID,
tokenID,
_tx.amount,
from.state.nonce
);

return (newRoot, freshState, Types.Result.Ok);
}
Expand Down
2 changes: 1 addition & 1 deletion ts/commitments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class MassMigrationCommitment extends Commitment {
origin.pubkeyID,
origin.tokenID,
tx.amount,
tx.nonce,
tx.nonce
);
states.push(destination);
}
Expand Down

0 comments on commit 254757d

Please sign in to comment.