diff --git a/contracts/contract.js b/contracts/contract.js index c06c83c3..741795ff 100644 --- a/contracts/contract.js +++ b/contracts/contract.js @@ -177,7 +177,7 @@ function Contract(addressOrName, contractInterface, signerOrProvider) { } var noncePromise = null; - if (transaction.nonce) { + if (transaction.nonce != null) { noncePromise = Promise.resolve(transaction.nonce) } else if (signer.getTransactionCount) { noncePromise = signer.getTransactionCount();