Fixed contract-address bug (nonce was not zero-stripped).
This commit is contained in:
parent
b097e48efc
commit
9bed4096b8
|
@ -11,7 +11,7 @@ function getContractAddress(transaction) {
|
|||
|
||||
return getAddress('0x' + keccak256(rlp.encode([
|
||||
getAddress(transaction.from),
|
||||
convert.hexlify(nonce, 'nonce')
|
||||
convert.stripZeros(convert.hexlify(nonce, 'nonce'))
|
||||
])).substring(26));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue