Skip to content

Commit

Permalink
itest: small fixes for load test
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinrzachman committed Apr 3, 2024
1 parent 2affd4e commit f0e0c78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion itest/loadtest/mint_batch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,5 @@ func mintTest(t *testing.T, ctx context.Context, cfg *Config) {
})
require.True(t, correctOp)

itest.SyncUniverses(ctx, t, alice, bob, aliceHost, cfg.TestTimeout)
itest.SyncUniverses(ctx, t, bob, alice, aliceHost, cfg.TestTimeout)
}
4 changes: 2 additions & 2 deletions itest/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func MineBlocks(t *testing.T, client *rpcclient.Client,
var blockHashes []*chainhash.Hash

switch backend.(type) {
case rpcclient.BitcoindVersion:
case *rpcclient.BitcoindVersion:
addr, err := btcutil.DecodeAddress(
regtestMiningAddr, regtestParams,
)
Expand All @@ -158,7 +158,7 @@ func MineBlocks(t *testing.T, client *rpcclient.Client,
)
require.NoError(t, err)

case rpcclient.BtcdVersion:
case *rpcclient.BtcdVersion:
blockHashes, err = client.Generate(num)
require.NoError(t, err)

Expand Down

0 comments on commit f0e0c78

Please sign in to comment.