Skip to content

Commit

Permalink
feat(): update test
Browse files Browse the repository at this point in the history
  • Loading branch information
zyjblockchain committed Nov 23, 2022
1 parent f0dfdd7 commit 2282ab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/sdk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func TestSDK_SendDataAndPay_EccSigner(t *testing.T) {
tags := []types.Tag{
{"Content-Type", "text"},
}
tx, itemId, err := sdk.SendDataAndPay(data, "usdt", &schema.OptionItem{Tags: tags}) // your account must have enough balance in everpay
tx, itemId, err := sdk.SendDataAndPay(data, "usdt", &schema.OptionItem{Tags: tags}, false) // your account must have enough balance in everpay
assert.NoError(t, err)
t.Log("itemId:", itemId)
t.Log(tx.HexHash())
Expand All @@ -47,7 +47,7 @@ func TestSDK_SendDataAndPay_RsaSigner(t *testing.T) {
tags := []types.Tag{
{"Content-Type", "text"},
}
tx, itemId, err := sdk.SendDataAndPay(data, "usdt", &schema.OptionItem{Tags: tags}) // your account must have enough balance in everpay
tx, itemId, err := sdk.SendDataAndPay(data, "usdt", &schema.OptionItem{Tags: tags}, false) // your account must have enough balance in everpay
assert.NoError(t, err)
t.Log("itemId:", itemId)
t.Log(tx.HexHash())
Expand Down

0 comments on commit 2282ab4

Please sign in to comment.