From 8bf95879f796bdd1cf2e146f0a0482d638447df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Thu, 13 Feb 2020 01:10:07 +0100 Subject: [PATCH] cbor-gen fixes --- states_failed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/states_failed.go b/states_failed.go index faf878b64..7d851b0e8 100644 --- a/states_failed.go +++ b/states_failed.go @@ -53,7 +53,7 @@ func (m *Sealing) checkPreCommitted(ctx statemachine.Context, sector SectorInfo) var pci miner.SectorPreCommitOnChainInfo 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) return nil, true }