cbor-gen fixes
This commit is contained in:
parent
939610a930
commit
8bf95879f7
@ -53,7 +53,7 @@ func (m *Sealing) checkPreCommitted(ctx statemachine.Context, sector SectorInfo)
|
|||||||
|
|
||||||
var pci miner.SectorPreCommitOnChainInfo
|
var pci miner.SectorPreCommitOnChainInfo
|
||||||
precommits := adt.AsMap(store.ActorStore(ctx.Context(), apibstore.NewAPIBlockstore(m.api)), state.PreCommittedSectors)
|
precommits := adt.AsMap(store.ActorStore(ctx.Context(), apibstore.NewAPIBlockstore(m.api)), state.PreCommittedSectors)
|
||||||
if _, err := precommits.Get(adt.IntKey(sector.SectorID), &pci); err != nil {
|
if _, err := precommits.Get(adt.UIntKey(uint64(sector.SectorID)), &pci); err != nil {
|
||||||
log.Error(err)
|
log.Error(err)
|
||||||
return nil, true
|
return nil, true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user