Comment reference to issue regarding address collisions

This commit is contained in:
coffeepots 2018-09-04 16:35:20 +01:00
parent c3c84782a5
commit f3fb306a33
1 changed files with 1 additions and 0 deletions

View File

@ -555,6 +555,7 @@ op create, inline = false, value, startPosition, size:
db.setNonce(computation.msg.storageAddress, creationNonce + 1) db.setNonce(computation.msg.storageAddress, creationNonce + 1)
contractAddress = generateAddress(computation.msg.storageAddress, creationNonce) contractAddress = generateAddress(computation.msg.storageAddress, creationNonce)
# Regarding collisions, see: https://github.com/status-im/nimbus/issues/133
isCollision = db.hasCodeOrNonce(contractAddress) isCollision = db.hasCodeOrNonce(contractAddress)
if isCollision: if isCollision: