Skip to content

Commit afd0735

Browse files
authored
Update GovernorNoncesKeyed.test.js
1 parent ed6a47e commit afd0735

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/governance/extensions/GovernorNoncesKeyed.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ describe('GovernorNoncesKeyed', function () {
9292
const maskedProposalId = BigInt(this.helper.id) & (2n ** 192n - 1n);
9393

9494
this.getNonce = async address => {
95-
return await (nonceType === 'default'
95+
return nonceType === 'default'
9696
? this.mock.nonces(address)
97-
: this.mock['nonces(address,uint192)'](address, maskedProposalId));
97+
: this.mock['nonces(address,uint192)'](address, maskedProposalId);
9898
};
9999
});
100100

0 commit comments

Comments
 (0)