From df21d5b4eefdc35f0f8194b4392532ac06eb4c91 Mon Sep 17 00:00:00 2001 From: vyzo Date: Sat, 11 Mar 2023 17:12:28 +0200 Subject: [PATCH] use tipset cid instead of key for posterity. --- chain/index/interface.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chain/index/interface.go b/chain/index/interface.go index ea701e811..dcf8ff6fa 100644 --- a/chain/index/interface.go +++ b/chain/index/interface.go @@ -4,7 +4,6 @@ import ( "context" "github.com/filecoin-project/go-state-types/abi" - "github.com/filecoin-project/lotus/chain/types" "github.com/ipfs/go-cid" ) @@ -15,7 +14,7 @@ type MsgInfo struct { // the epoch whre this message was executed Epoch abi.ChainEpoch // the tipset where this messages executed - Tipset types.TipSetKey + Tipset cid.Cid // the first block in the tipset where the message was executed Block cid.Cid // the index of the message in the block