This commit is contained in:
Alexey 2021-09-08 14:27:40 +03:00
parent 77ce3c96d4
commit 033c2c2576

View File

@ -486,7 +486,7 @@ contract('Governance', (accounts) => {
spender: governance.address, spender: governance.address,
value: tokensAmount, value: tokensAmount,
nonce: 0, nonce: 0,
deadline: new BN('1609459200'), // 01/01/2021 @ 12:00am (UTC) deadline: new BN('5609459200'),
} }
const permitSigner = new PermitSigner(domain, args) const permitSigner = new PermitSigner(domain, args)
const signature = await permitSigner.getSignature(miningPrivateKey) const signature = await permitSigner.getSignature(miningPrivateKey)