Skip to content

Commit 2cb7daf

Browse files
committed
chore: better util name
1 parent 19ea103 commit 2cb7daf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

integration-tests/tracetracking/testutils/test_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func SetUpTest(t *testing.T, chainID uint64, initialAmount *big.Int, fundedAccou
2828
amounts := make([]tlb.Coins, fundedAccountsCount)
2929

3030
for i := range fundedAccountsCount {
31-
w := testutils.CreateTonWallet(t, api, wallet.V3R2, wallet.WithWorkchain(0))
31+
w := testutils.CreateRandomTonWallet(t, api, wallet.V3R2, wallet.WithWorkchain(0))
3232
recipients[i] = w.Address()
3333
amounts[i] = tlb.FromNanoTON(initialAmount)
3434

integration-tests/txm/txm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func TestTxmLocal(t *testing.T) {
3333
require.NotNil(t, nodeClient)
3434
logger.Debugw("Started MyLocalTON")
3535

36-
wallet := test_utils.CreateTonWallet(t, nodeClient, config.WalletVersion, wallet.WithWorkchain(0))
36+
wallet := test_utils.CreateRandomTonWallet(t, nodeClient, config.WalletVersion, wallet.WithWorkchain(0))
3737
require.NotNil(t, wallet)
3838
logger.Debugw("Created TON Wallet")
3939

integration-tests/utils/chain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727

2828
var once = &sync.Once{}
2929

30-
func CreateTonWallet(t *testing.T, client ton.APIClientWrapped, version wallet.VersionConfig, option wallet.Option) *wallet.Wallet {
30+
func CreateRandomTonWallet(t *testing.T, client ton.APIClientWrapped, version wallet.VersionConfig, option wallet.Option) *wallet.Wallet {
3131
seed := wallet.NewSeed()
3232
rw, err := wallet.FromSeed(client, seed, version)
3333
require.NoError(t, err, "failed to generate random wallet: %w", err)

0 commit comments

Comments
 (0)