From 61dbd443b86f88d1e8a6a457f0e741fcbb04b6e5 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Thu, 6 May 2021 16:37:46 +0200 Subject: [PATCH] Fix tests and verifreg Signed-off-by: Jakub Sztandera --- cli/services_send_test.go | 2 +- cmd/lotus-shed/verifreg.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/services_send_test.go b/cli/services_send_test.go index c6af9866a..b7ed78f80 100644 --- a/cli/services_send_test.go +++ b/cli/services_send_test.go @@ -9,7 +9,7 @@ import ( "github.com/filecoin-project/go-state-types/big" "github.com/filecoin-project/go-state-types/crypto" "github.com/filecoin-project/lotus/api" - mocks "github.com/filecoin-project/lotus/api/v0api/v0mocks" + mocks "github.com/filecoin-project/lotus/api/mocks" types "github.com/filecoin-project/lotus/chain/types" gomock "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" diff --git a/cmd/lotus-shed/verifreg.go b/cmd/lotus-shed/verifreg.go index 1b0b57ca0..52e1aa1d6 100644 --- a/cmd/lotus-shed/verifreg.go +++ b/cmd/lotus-shed/verifreg.go @@ -95,7 +95,7 @@ var verifRegAddVerifierCmd = &cli.Command{ fmt.Printf("message sent, now waiting on cid: %s\n", msgCid) - mwait, err := api.StateWaitMsg(ctx, msgCid, build.MessageConfidence) + mwait, err := api.StateWaitMsg(ctx, msgCid, uint64(cctx.Int("confidence")), build.Finality, true) if err != nil { return err }