From 47ec2f2d8acdbb3761fc0ec8c606173a7b221788 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 11 Sep 2018 15:20:57 -0400 Subject: [PATCH] fix redeploy of contracts on spaces --- lib/modules/contracts_manager/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;