diff options
author | zelig <viktor.tron@gmail.com> | 2015-05-18 22:31:26 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-05-20 09:47:13 +0800 |
commit | f9abcee0f9185d41c71cc24af1303133497ebeb0 (patch) | |
tree | 7e33bf08ba0a501257dcbf3bc4c5d2ab55b7ad11 /common/compiler/solidity.go | |
parent | 79042223dc5f2ae5d4a2ed73d18907440a963093 (diff) | |
download | dexon-f9abcee0f9185d41c71cc24af1303133497ebeb0.tar dexon-f9abcee0f9185d41c71cc24af1303133497ebeb0.tar.gz dexon-f9abcee0f9185d41c71cc24af1303133497ebeb0.tar.bz2 dexon-f9abcee0f9185d41c71cc24af1303133497ebeb0.tar.lz dexon-f9abcee0f9185d41c71cc24af1303133497ebeb0.tar.xz dexon-f9abcee0f9185d41c71cc24af1303133497ebeb0.tar.zst dexon-f9abcee0f9185d41c71cc24af1303133497ebeb0.zip |
fix solc tests unskip
Diffstat (limited to 'common/compiler/solidity.go')
-rw-r--r-- | common/compiler/solidity.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/compiler/solidity.go b/common/compiler/solidity.go index 6790f9a1d..bc1697692 100644 --- a/common/compiler/solidity.go +++ b/common/compiler/solidity.go @@ -164,7 +164,7 @@ func (sol *Solidity) Compile(source string) (contract *Contract, err error) { err = json.Unmarshal(developerDocJson, &developerDoc) contract = &Contract{ - Code: string(code), + Code: "0x" + string(code), Info: ContractInfo{ Source: source, Language: "Solidity", |