Skip to content

Commit 2b78f88

Browse files
Fix NewClients (#376)
Use correct identity. Signed-off-by: Matthias Geihs <matthias@perun.network> Signed-off-by: Matthias Geihs <matthias@perun.network>
1 parent 38ac08d commit 2b78f88

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

client/test/role.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ import (
3737
wallettest "perun.network/go-perun/wallet/test"
3838
"perun.network/go-perun/watcher"
3939
"perun.network/go-perun/wire"
40-
wiretest "perun.network/go-perun/wire/test"
4140
pkgsync "polycry.pt/poly-go/sync"
4241
"polycry.pt/poly-go/test"
4342
)
@@ -128,7 +127,6 @@ func NewClients(t *testing.T, rng *rand.Rand, setups []RoleSetup) []*Client {
128127
t.Helper()
129128
clients := make([]*Client, len(setups))
130129
for i, setup := range setups {
131-
setup.Identity = wiretest.NewRandomAccount(rng)
132130
cl, err := client.New(setup.Identity.Address(), setup.Bus, setup.Funder, setup.Adjudicator, setup.Wallet, setup.Watcher)
133131
assert.NoError(t, err)
134132
clients[i] = &Client{

0 commit comments

Comments
 (0)