Skip to content

Commit

Permalink
nil
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdayong228 committed Jan 4, 2023
1 parent 5a97671 commit 01f19f5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
}

0 comments on commit 01f19f5

Please sign in to comment.