genesis: set correct NextDealID in SMA
This commit is contained in:
parent
a59d0f0f8c
commit
660ba3f4f6
@ -205,7 +205,7 @@ func SetupStorageMarketActor(bs bstore.Blockstore, sroot cid.Cid, deals []actors
|
||||
sms := &actors.StorageMarketState{
|
||||
Balances: emptyHAMT,
|
||||
Deals: dealAmt,
|
||||
NextDealID: 0,
|
||||
NextDealID: uint64(len(deals)),
|
||||
}
|
||||
|
||||
stcid, err := cst.Put(context.TODO(), sms)
|
||||
|
Loading…
Reference in New Issue
Block a user