aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-09-05 06:10:13 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-09-05 06:10:13 +0800
commit9858bb0ce4acb87a34d4129e297e08739bf181d8 (patch)
treed747f5e93169b66c42b051073e1dc5d2d8201c7a /packages/contracts
parente70882a657acecb7437ce9dd28218d719f8beb3d (diff)
downloaddexon-sol-tools-9858bb0ce4acb87a34d4129e297e08739bf181d8.tar
dexon-sol-tools-9858bb0ce4acb87a34d4129e297e08739bf181d8.tar.gz
dexon-sol-tools-9858bb0ce4acb87a34d4129e297e08739bf181d8.tar.bz2
dexon-sol-tools-9858bb0ce4acb87a34d4129e297e08739bf181d8.tar.lz
dexon-sol-tools-9858bb0ce4acb87a34d4129e297e08739bf181d8.tar.xz
dexon-sol-tools-9858bb0ce4acb87a34d4129e297e08739bf181d8.tar.zst
dexon-sol-tools-9858bb0ce4acb87a34d4129e297e08739bf181d8.zip
Fix bug in contracts tests
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/test/multisig/multi_sig_with_time_lock.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/test/multisig/multi_sig_with_time_lock.ts b/packages/contracts/test/multisig/multi_sig_with_time_lock.ts
index bc1de7ed4..05d8bbb36 100644
--- a/packages/contracts/test/multisig/multi_sig_with_time_lock.ts
+++ b/packages/contracts/test/multisig/multi_sig_with_time_lock.ts
@@ -114,9 +114,9 @@ describe('MultiSigWalletWithTimeLock', () => {
);
});
it('should set the confirmation time of the transaction if it becomes fully confirmed', async () => {
+ const txReceipt = await multiSigWrapper.confirmTransactionAsync(txId, owners[1]);
const blockNum = await web3Wrapper.getBlockNumberAsync();
const timestamp = new BigNumber(await web3Wrapper.getBlockTimestampAsync(blockNum));
- const txReceipt = await multiSigWrapper.confirmTransactionAsync(txId, owners[1]);
const log = txReceipt.logs[1] as LogWithDecodedArgs<MultiSigWalletWithTimeLockConfirmationTimeSetEventArgs>;
expect(log.args.confirmationTime).to.be.bignumber.equal(timestamp);
expect(log.args.transactionId).to.be.bignumber.equal(txId);