fix: first parallel deploy

Zero is falsy
This commit is contained in:
Anthony Laibe 2019-01-24 13:15:05 +00:00 committed by Iuri Matias
parent 5968eef349
commit 7ac27a0f93

View File

@ -19,7 +19,7 @@ class Provider {
getNonce(address, callback) {
this.web3.eth.getTransactionCount(address, (_error, transactionCount) => {
if(!this.nonceCache[address]) {
if(this.nonceCache[address] === undefined) {
this.nonceCache[address] = -1;
}