diff --git a/contracts/libs/Transition.sol b/contracts/libs/Transition.sol index baec949c..46ba6c5c 100644 --- a/contracts/libs/Transition.sol +++ b/contracts/libs/Transition.sol @@ -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); } diff --git a/ts/commitments.ts b/ts/commitments.ts index 52a2061d..75c57f4f 100644 --- a/ts/commitments.ts +++ b/ts/commitments.ts @@ -154,7 +154,7 @@ export class MassMigrationCommitment extends Commitment { origin.pubkeyID, origin.tokenID, tx.amount, - tx.nonce, + tx.nonce ); states.push(destination); }