clean up which addresses get used where

This commit is contained in:
whyrusleeping
2019-07-26 10:33:54 -07:00
parent a825b3b550
commit a0c1afff57
5 changed files with 4 additions and 29 deletions
+1 -3
View File
@@ -5,8 +5,6 @@ import (
"github.com/pkg/errors"
"gopkg.in/urfave/cli.v2"
"github.com/filecoin-project/go-lotus/chain/address"
)
var minerCmd = &cli.Command{
@@ -29,7 +27,7 @@ var minerStart = &cli.Command{
ctx := ReqContext(cctx)
// TODO: this address needs to be the address of an actual miner
maddr, err := address.NewIDAddress(523423423)
maddr, err := api.WalletDefaultAddress(ctx)
if err != nil {
return errors.Wrap(err, "failed to create miner address")
}