diff options
author | F. Eugene Aumson <gene@aumson.org> | 2018-08-30 20:59:30 +0800 |
---|---|---|
committer | F. Eugene Aumson <gene@aumson.org> | 2018-08-30 22:43:43 +0800 |
commit | 6450844d7fc39561671dd72f036a436f8bc2f664 (patch) | |
tree | 262228b5eae258f49537375691965d5a3960cebe | |
parent | 9834395a48a20314bd59538a2f72b40c02280844 (diff) | |
download | dexon-sol-tools-6450844d7fc39561671dd72f036a436f8bc2f664.tar.gz dexon-sol-tools-6450844d7fc39561671dd72f036a436f8bc2f664.tar.zst dexon-sol-tools-6450844d7fc39561671dd72f036a436f8bc2f664.zip |
rename method _addHexPrefixes
-rw-r--r-- | packages/sol-compiler/src/compiler.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/sol-compiler/src/compiler.ts b/packages/sol-compiler/src/compiler.ts index b5255b361..ced139909 100644 --- a/packages/sol-compiler/src/compiler.ts +++ b/packages/sol-compiler/src/compiler.ts @@ -110,7 +110,7 @@ export class Compiler { const solcInstance = solc.setupMethods(requireFromString(solcjs, compilerBinFilename)); return { solcInstance, fullSolcVersion }; } - private static _addHexPrefixes(compiledContract: solc.StandardContractOutput): void { + private static _addHexPrefixToContractBytecode(compiledContract: solc.StandardContractOutput): void { if (!_.isUndefined(compiledContract.evm)) { if (!_.isUndefined(compiledContract.evm.bytecode) && !_.isUndefined(compiledContract.evm.bytecode.object)) { compiledContract.evm.bytecode.object = ethUtil.addHexPrefix(compiledContract.evm.bytecode.object); @@ -254,7 +254,7 @@ export class Compiler { ); } - Compiler._addHexPrefixes(compiledContract); + Compiler._addHexPrefixToContractBytecode(compiledContract); if (shouldPersist) { await this._persistCompiledContractAsync( |