Merge pull request #809 from embark-framework/bug_fix/bad-redeploy

fix redeploy of contracts on spaces
This commit is contained in:
Iuri Matias 2018-09-12 18:37:29 -04:00 committed by GitHub
commit e7ae3fbc76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class ContractsManager {
contract.code = compiledContract.code; contract.code = compiledContract.code;
contract.runtimeBytecode = compiledContract.runtimeBytecode; contract.runtimeBytecode = compiledContract.runtimeBytecode;
contract.realRuntimeBytecode = (contract.realRuntimeBytecode || contract.runtimeBytecode); contract.realRuntimeBytecode = (compiledContract.realRuntimeBytecode || compiledContract.runtimeBytecode);
contract.swarmHash = compiledContract.swarmHash; contract.swarmHash = compiledContract.swarmHash;
contract.gasEstimates = compiledContract.gasEstimates; contract.gasEstimates = compiledContract.gasEstimates;
contract.functionHashes = compiledContract.functionHashes; contract.functionHashes = compiledContract.functionHashes;