From 897b898cd24ed1a6f1f57ecd9cd8653ab16a6741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E9=A1=B5=E7=B4=A0=E4=B9=A6?= <2931107265@qq.com> Date: Tue, 4 Jan 2022 18:02:51 +0800 Subject: [PATCH] fix ci for select msg test --- pkg/messagepool/selection_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/messagepool/selection_test.go b/pkg/messagepool/selection_test.go index 6440067f78..59145f6192 100644 --- a/pkg/messagepool/selection_test.go +++ b/pkg/messagepool/selection_test.go @@ -577,7 +577,7 @@ func TestMessageSelectionTrimmingMsgsBasic(t *testing.T) { // the actors w1 := newWallet(t) - a1, err := w1.NewAddress(address.SECP256K1) + a1, err := w1.NewAddress(context.Background(), address.SECP256K1) if err != nil { t.Fatal(err) } @@ -619,13 +619,13 @@ func TestMessageSelectionTrimmingMsgsTwoSendersBasic(t *testing.T) { // the actors w1 := newWallet(t) - a1, err := w1.NewAddress(address.SECP256K1) + a1, err := w1.NewAddress(context.Background(), address.SECP256K1) if err != nil { t.Fatal(err) } w2 := newWallet(t) - a2, err := w2.NewAddress(address.BLS) + a2, err := w2.NewAddress(context.Background(), address.BLS) if err != nil { t.Fatal(err) } @@ -677,13 +677,13 @@ func TestMessageSelectionTrimmingMsgsTwoSendersAdvanced(t *testing.T) { // the actors w1 := newWallet(t) - a1, err := w1.NewAddress(address.SECP256K1) + a1, err := w1.NewAddress(context.Background(), address.SECP256K1) if err != nil { t.Fatal(err) } w2 := newWallet(t) - a2, err := w2.NewAddress(address.BLS) + a2, err := w2.NewAddress(context.Background(), address.BLS) if err != nil { t.Fatal(err) }