From e41a06b9eea9e92a6b014874b156c24405f3aa05 Mon Sep 17 00:00:00 2001 From: Howard Yeh Date: Fri, 27 Apr 2018 12:14:02 +0800 Subject: [PATCH] minor tweaks for eth deployer --- deployer/eth/ethDeployer.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deployer/eth/ethDeployer.go b/deployer/eth/ethDeployer.go index 4bd4c5a..96c4d0c 100644 --- a/deployer/eth/ethDeployer.go +++ b/deployer/eth/ethDeployer.go @@ -90,6 +90,7 @@ func (d *Deployer) CreateContract(c *contract.CompiledContract, jsonParams []byt DeployName: name, TransactionID: contract.Bytes(hexBytes), CreatedAt: time.Now(), + Sender: d.Account.Addr, } if aslib { @@ -138,8 +139,8 @@ func (d *Deployer) ConfirmContract(c *contract.DeployedContract) (err error) { } func (d *Deployer) Mine() (err error) { - var result interface{} - err = d.client.Call(&result, "miner_start", 1) + // var result interface{} + // err = d.client.Call(&result, "miner_start", 1) //fmt.Printf("miner_start %#v\n", result) return }