refactor: clean up code
This commit is contained in:
parent
dae8be0881
commit
0bb5fffd88
@ -38,14 +38,13 @@ func TestPaymentChannelsAPI(t *testing.T) {
|
|||||||
miner kit2.TestMiner
|
miner kit2.TestMiner
|
||||||
)
|
)
|
||||||
|
|
||||||
//n, sn := kit2.MockMinerBuilder(t, kit2.TwoFull, kit2.OneMiner)
|
|
||||||
ens := kit2.NewEnsemble(t, kit2.MockProofs()).
|
ens := kit2.NewEnsemble(t, kit2.MockProofs()).
|
||||||
FullNode(&paymentCreator).
|
FullNode(&paymentCreator).
|
||||||
FullNode(&paymentReceiver).
|
FullNode(&paymentReceiver).
|
||||||
Miner(&miner, &paymentCreator).
|
Miner(&miner, &paymentCreator).
|
||||||
Start().
|
Start().
|
||||||
InterconnectAll()
|
InterconnectAll()
|
||||||
bms := ens.BeginMining(blockTime, &miner)
|
bms := ens.BeginMining(blockTime)
|
||||||
bm := bms[0]
|
bm := bms[0]
|
||||||
|
|
||||||
// send some funds to register the receiver
|
// send some funds to register the receiver
|
||||||
|
Loading…
Reference in New Issue
Block a user