diff --git a/lib/modules/contracts_manager/index.js b/lib/modules/contracts_manager/index.js index 394f6de0..7fc4e578 100644 --- a/lib/modules/contracts_manager/index.js +++ b/lib/modules/contracts_manager/index.js @@ -117,7 +117,7 @@ class ContractsManager { contract.code = compiledContract.code; contract.runtimeBytecode = compiledContract.runtimeBytecode; - contract.realRuntimeBytecode = (contract.realRuntimeBytecode || contract.runtimeBytecode); + contract.realRuntimeBytecode = (compiledContract.realRuntimeBytecode || compiledContract.runtimeBytecode); contract.swarmHash = compiledContract.swarmHash; contract.gasEstimates = compiledContract.gasEstimates; contract.functionHashes = compiledContract.functionHashes;