mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-27 12:50:43 +00:00
fix: first parallel deploy
Zero is falsy
This commit is contained in:
parent
5968eef349
commit
7ac27a0f93
@ -19,7 +19,7 @@ class Provider {
|
|||||||
|
|
||||||
getNonce(address, callback) {
|
getNonce(address, callback) {
|
||||||
this.web3.eth.getTransactionCount(address, (_error, transactionCount) => {
|
this.web3.eth.getTransactionCount(address, (_error, transactionCount) => {
|
||||||
if(!this.nonceCache[address]) {
|
if(this.nonceCache[address] === undefined) {
|
||||||
this.nonceCache[address] = -1;
|
this.nonceCache[address] = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user