Skip to content

Commit

Permalink
use getCodeHash (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
axchu authored Dec 11, 2020
1 parent d3acfe3 commit 42e8a83
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
address(proxyEOA),
keccak256(Lib_EthUtils.getCode(address(proxyEOA)))
);

_setAccountNonce(eoa, 0);
}

Expand Down Expand Up @@ -821,7 +821,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
_commitPendingAccount(
_address,
ethAddress,
keccak256(deployedCode)
Lib_EthUtils.getCodeHash(ethAddress)
);
}

Expand Down

0 comments on commit 42e8a83

Please sign in to comment.