Commit 42e8a836 authored by Alina's avatar Alina Committed by GitHub

use getCodeHash (#124)

parent d3acfe36
...@@ -498,7 +498,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver { ...@@ -498,7 +498,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
address(proxyEOA), address(proxyEOA),
keccak256(Lib_EthUtils.getCode(address(proxyEOA))) keccak256(Lib_EthUtils.getCode(address(proxyEOA)))
); );
_setAccountNonce(eoa, 0); _setAccountNonce(eoa, 0);
} }
...@@ -821,7 +821,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver { ...@@ -821,7 +821,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
_commitPendingAccount( _commitPendingAccount(
_address, _address,
ethAddress, ethAddress,
keccak256(deployedCode) Lib_EthUtils.getCodeHash(ethAddress)
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment