Skip to content

Commit

Permalink
minor tweaks for eth deployer
Browse files Browse the repository at this point in the history
  • Loading branch information
hayeah committed Apr 27, 2018
1 parent b5c7f83 commit e41a06b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deployer/eth/ethDeployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit e41a06b

Please sign in to comment.