From 01f19f5388924120c7226f44f216a3fdce2db3da Mon Sep 17 00:00:00 2001 From: dayong Date: Wed, 4 Jan 2023 17:26:51 +0800 Subject: [PATCH] nil --- client_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/client_test.go b/client_test.go index 07ddbcd..1b3196f 100644 --- a/client_test.go +++ b/client_test.go @@ -18,6 +18,7 @@ import ( // "github.com/ethereum/go-ethereum/rpc" "github.com/Conflux-Chain/go-conflux-sdk/types" + "github.com/Conflux-Chain/go-conflux-sdk/types/cfxaddress" rpc "github.com/openweb3/go-rpc-provider" providers "github.com/openweb3/go-rpc-provider/provider_wrapper" "github.com/pkg/errors" @@ -133,3 +134,10 @@ func _TestGetPosTxByNum(t *testing.T) { assert.NoError(t, err) fmt.Printf("%v\n", tx) } + +func _TestDeposite(t *testing.T) { + c := MustNewClient("https://test.confluxrpc.com", ClientOption{Logger: os.Stdout}) + di, err := c.GetDepositList(cfxaddress.MustNew("cfxtest:aanhtnrex2nj56kkbws4yx0jeab34ae16pcap53w13")) + assert.NoError(t, err) + fmt.Printf("%v\n", di) +}