@@ -44,9 +44,8 @@ func testAddresses(t *harnessTest) {
4444
4545 // We'll make a second node now that'll be the receiver of all the
4646 // assets made above.
47- secondTapd := setupTapdHarness (
48- t .t , t , t .lndHarness .Bob , t .universeServer ,
49- )
47+ bobLnd := t .lndHarness .NewNodeWithCoins ("Bob" , nil )
48+ secondTapd := setupTapdHarness (t .t , t , bobLnd , t .universeServer )
5049 defer func () {
5150 require .NoError (t .t , secondTapd .stop (! * noDelete ))
5251 }()
@@ -183,7 +182,7 @@ func testAddresses(t *harnessTest) {
183182 Amount : 22 ,
184183 }
185184 manualAsset , mintProofBlob , mintOP := ManualMintSimpleAsset (
186- t , t .lndHarness . Alice , t .tapd , commitment .TapCommitmentV0 , & req ,
185+ t , t .tapd . cfg . LndNode , t .tapd , commitment .TapCommitmentV0 , & req ,
187186 )
188187
189188 numAssets := 2
@@ -267,9 +266,8 @@ func testMultiAddress(t *harnessTest) {
267266 // We'll make a second node now that'll be the receiver of all the
268267 // assets made above.
269268 alice := t .tapd
270- bob := setupTapdHarness (
271- t .t , t , t .lndHarness .Bob , t .universeServer ,
272- )
269+ bobLnd := t .lndHarness .NewNodeWithCoins ("Bob" , nil )
270+ bob := setupTapdHarness (t .t , t , bobLnd , t .universeServer )
273271 defer func () {
274272 require .NoError (t .t , bob .stop (! * noDelete ))
275273 }()
@@ -312,8 +310,9 @@ func testMultiAddress(t *harnessTest) {
312310func testAddressAssetSyncer (t * harnessTest ) {
313311 // We'll kick off the test by making a new node, without hooking it up
314312 // to any existing Universe server.
313+ bobLnd := t .lndHarness .NewNodeWithCoins ("Bob" , nil )
315314 bob := setupTapdHarness (
316- t .t , t , t . lndHarness . Bob , t .universeServer ,
315+ t .t , t , bobLnd , t .universeServer ,
317316 func (params * tapdHarnessParams ) {
318317 params .noDefaultUniverseSync = true
319318 },
@@ -443,7 +442,7 @@ func testAddressAssetSyncer(t *harnessTest) {
443442 restartBobNoUniSync := func (disableSyncer bool ) {
444443 require .NoError (t .t , bob .stop (! * noDelete ))
445444 bob = setupTapdHarness (
446- t .t , t , t . lndHarness . Bob , t .universeServer ,
445+ t .t , t , bobLnd , t .universeServer ,
447446 func (params * tapdHarnessParams ) {
448447 params .noDefaultUniverseSync = true
449448 params .addrAssetSyncerDisable = disableSyncer
@@ -685,9 +684,8 @@ func testUnknownTlvType(t *harnessTest) {
685684 // We'll make a second node now that'll be the receiver of all the
686685 // assets made above.
687686 alice := t .tapd
688- bob := setupTapdHarness (
689- t .t , t , t .lndHarness .Bob , t .universeServer ,
690- )
687+ bobLnd := t .lndHarness .NewNodeWithCoins ("Bob" , nil )
688+ bob := setupTapdHarness (t .t , t , bobLnd , t .universeServer )
691689 defer func () {
692690 require .NoError (t .t , bob .stop (! * noDelete ))
693691 }()
@@ -766,9 +764,7 @@ func testUnknownTlvType(t *harnessTest) {
766764 require .NoError (t .t , err )
767765
768766 // We make a new node to import the modified proof.
769- charlie := setupTapdHarness (
770- t .t , t , t .lndHarness .Bob , t .universeServer ,
771- )
767+ charlie := setupTapdHarness (t .t , t , bobLnd , t .universeServer )
772768 defer func () {
773769 require .NoError (t .t , charlie .stop (! * noDelete ))
774770 }()
0 commit comments