TEMP: accept miner address from cli

This commit is contained in:
whyrusleeping
2019-08-16 12:39:13 -07:00
parent f7dc253669
commit b2d425b891
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -2,6 +2,7 @@ package testing
import (
"context"
"fmt"
"io"
"os"
@@ -80,6 +81,8 @@ func MakeGenesis(outFile string) func(bs dtypes.ChainBlockstore, w *wallet.Walle
return nil, err
}
fmt.Println("GENESIS MINER ADDRESS: ", gmc.MinerAddr.String())
f, err := os.OpenFile(outFile, os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
return nil, err