set missing miner ID field

This commit is contained in:
whyrusleeping 2020-08-19 13:42:34 -07:00
parent 621d675938
commit f5dcd4a25f

View File

@ -25,6 +25,7 @@ func PreSeal(ssize abi.SectorSize, maddr address.Address, sectors int) (*genesis
} }
genm := &genesis.Miner{ genm := &genesis.Miner{
ID: maddr,
Owner: k.Address, Owner: k.Address,
Worker: k.Address, Worker: k.Address,
MarketBalance: big.NewInt(0), MarketBalance: big.NewInt(0),