return wrapped errors

This commit is contained in:
Fridrik Asmundsson
2023-08-28 17:48:22 +00:00
parent 4068e0710d
commit a1b890c8c7
2 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ import (
"github.com/filecoin-project/lotus/chain/vm"
)
func getTipsetByBlockNr(ctx context.Context, chain *store.ChainStore, blkParam string, strict bool) (*types.TipSet, error) {
func getTipsetByBlockNumber(ctx context.Context, chain *store.ChainStore, blkParam string, strict bool) (*types.TipSet, error) {
if blkParam == "earliest" {
return nil, fmt.Errorf("block param \"earliest\" is not supported")
}