aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/dev_console.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereum/dev_console.go')
-rw-r--r--ethereum/dev_console.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum/dev_console.go b/ethereum/dev_console.go
index 0f03b5e53..583b8bd0b 100644
--- a/ethereum/dev_console.go
+++ b/ethereum/dev_console.go
@@ -204,7 +204,7 @@ func (i *Console) ParseInput(input string) bool {
break
}
- contract := ethchain.NewContractCreationTx(ethutil.Big(tokens[0]), ethutil.Big(tokens[1]), mainScript, initScript)
+ contract := ethchain.NewContractCreationTx(ethutil.Big(tokens[0]), ethutil.Big(tokens[1]), ethutil.Big(tokens[1]), mainScript, initScript)
key := ethutil.Config.Db.GetKeys()[0]
contract.Sign(key.PrivateKey)