From 2282ab48a1e98e5b7c1d9bced000b5d7459f3953 Mon Sep 17 00:00:00 2001 From: sandy <18382255942@163.com> Date: Wed, 23 Nov 2022 14:45:43 +0800 Subject: [PATCH] feat(): update test --- sdk/sdk_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/sdk_test.go b/sdk/sdk_test.go index a2f19f1..7a030de 100644 --- a/sdk/sdk_test.go +++ b/sdk/sdk_test.go @@ -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()) @@ -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())