Update cmd/lotus-seed/seed/seed.go
This commit is contained in:
parent
2a8dd6dd46
commit
e9ab233566
@ -139,7 +139,7 @@ func WriteGenesisMiner(maddr address.Address, sbroot string, gm *genesis.Genesis
|
||||
func createDeals(m *genesis.GenesisMiner, k *wallet.Key, maddr address.Address, ssize uint64) error {
|
||||
for _, sector := range m.Sectors {
|
||||
pref := make([]byte, len(sector.CommD))
|
||||
copt(pref, sector.CommD)
|
||||
copy(pref, sector.CommD[:])
|
||||
proposal := &actors.StorageDealProposal{
|
||||
PieceRef: pref, // just one deal so this == CommP
|
||||
PieceSize: sectorbuilder.UserBytesForSectorSize(ssize),
|
||||
|
Loading…
Reference in New Issue
Block a user