itest: give lsp a reserve utxo

This commit is contained in:
Jesse de Wit
2024-03-01 13:43:21 +01:00
parent fee4346543
commit 0372afc19d
2 changed files with 4 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ func testLsps2ZeroConfUtxo(p *testParams) {
tempaddr := lsp.LightningNode().GetNewAddress()
p.m.SendToAddress(tempaddr, 210000)
reserveaddr := lsp.LightningNode().GetNewAddress()
p.m.SendToAddress(reserveaddr, 50000)
p.m.MineBlocks(6)
lsp.LightningNode().WaitForSync()

View File

@@ -27,6 +27,8 @@ func testOpenZeroConfUtxo(p *testParams) {
tempaddr := lsp.LightningNode().GetNewAddress()
p.m.SendToAddress(tempaddr, 210000)
reserveaddr := lsp.LightningNode().GetNewAddress()
p.m.SendToAddress(reserveaddr, 50000)
p.m.MineBlocks(6)
lsp.LightningNode().WaitForSync()