From 0fcc8f8c424a801f05715fa6145137be4ef5803f Mon Sep 17 00:00:00 2001 From: simlecode <69969590+simlecode@users.noreply.github.com> Date: Tue, 22 Oct 2024 13:32:48 +0800 Subject: [PATCH] chore: fix test --- crypto/key_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/key_test.go b/crypto/key_test.go index 782912e..12da7fb 100644 --- a/crypto/key_test.go +++ b/crypto/key_test.go @@ -26,7 +26,7 @@ func TestSecpPrivateKey(t *testing.T) { if err != nil { t.Fatalf("private key parse address error:%s", err) } - assert.Equal(t, addr.String(), "t17rmoshisxovfjkrox2gpryaupmsalzy2tlaluiq") + assert.Equal(t, addr.String(), "f17rmoshisxovfjkrox2gpryaupmsalzy2tlaluiq") signData := []byte("hello filecoin") signature, err := prv.Sign(signData) @@ -88,7 +88,7 @@ func TestDelegatedPrivateKey(t *testing.T) { if err != nil { t.Fatalf("private key parse address error:%s", err) } - assert.Equal(t, addr.String(), "t410fnz6o7a4owcgw33z2zvsxtuf64aoxlmcn4dh5hzy") + assert.Equal(t, addr.String(), "f410fnz6o7a4owcgw33z2zvsxtuf64aoxlmcn4dh5hzy") signData := []byte("hello filecoin") signature, err := prv.Sign(signData)