diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-23 20:37:03 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-23 20:37:03 +0800 |
commit | d35380c19e5ce92b57158e7780f7105dc4136916 (patch) | |
tree | 44b358714448d492dcf8cdcddb4d1e6e57c4318b /ethereal/ui/gui.go | |
parent | 5f8911f7cba2cf837d891735f46b02b34e4fc228 (diff) | |
download | go-tangerine-d35380c19e5ce92b57158e7780f7105dc4136916.tar go-tangerine-d35380c19e5ce92b57158e7780f7105dc4136916.tar.gz go-tangerine-d35380c19e5ce92b57158e7780f7105dc4136916.tar.bz2 go-tangerine-d35380c19e5ce92b57158e7780f7105dc4136916.tar.lz go-tangerine-d35380c19e5ce92b57158e7780f7105dc4136916.tar.xz go-tangerine-d35380c19e5ce92b57158e7780f7105dc4136916.tar.zst go-tangerine-d35380c19e5ce92b57158e7780f7105dc4136916.zip |
New main script through init return value
Diffstat (limited to 'ethereal/ui/gui.go')
-rw-r--r-- | ethereal/ui/gui.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ethereal/ui/gui.go b/ethereal/ui/gui.go index 7290bd6ec..022f192bf 100644 --- a/ethereal/ui/gui.go +++ b/ethereal/ui/gui.go @@ -9,7 +9,6 @@ import ( "github.com/ethereum/eth-go/ethpub" "github.com/ethereum/eth-go/ethutil" "github.com/go-qml/qml" - "github.com/obscuren/mutan" "math/big" "strings" ) @@ -262,7 +261,7 @@ func (gui *Gui) Transact(recipient, value, gas, gasPrice, data string) (*ethpub. func (gui *Gui) Create(recipient, value, gas, gasPrice, data string) (*ethpub.PReceipt, error) { keyPair := ethutil.GetKeyRing().Get(0) - mainInput, initInput := mutan.PreParse(data) + //mainInput, initInput := mutan.PreParse(data) - return gui.pub.Create(ethutil.Hex(keyPair.PrivateKey), value, gas, gasPrice, initInput, mainInput) + return gui.pub.Create(ethutil.Hex(keyPair.PrivateKey), value, gas, gasPrice, data) } |