-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Closed
Labels
Description
Getting this on contract creation. The 1 in "Is 1, expected 35" seems to change every time. For example:
2014/05/31 14:45:25 Contract addr ecda116167e88a79ed6bdad32c209f5029643fae
2014/05/31 14:45:25 [STATE] contract creation tx: Nonce err. Is 1, expected 35
(try again)
2014/05/31 14:46:51 Contract addr 1cf20f2636c360cca295212e38b6482ecbb11d33
2014/05/31 14:48:08 [STATE] contract creation tx: Nonce err. Is 2, expected 35
Here's the contract:
this.store[this.origin()] = 10**20
return lambda {
big to = this.data[0]
big from = this.origin()
big value = this.data[1]
if this.store[from] > value {
this.store[from] = this.store[from] - value
this.store[to] = this.store[to] + value
}
}