mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-19 14:54:22 +01:00
itest: give lsp a reserve utxo
This commit is contained in:
@@ -27,6 +27,8 @@ func testLsps2ZeroConfUtxo(p *testParams) {
|
|||||||
|
|
||||||
tempaddr := lsp.LightningNode().GetNewAddress()
|
tempaddr := lsp.LightningNode().GetNewAddress()
|
||||||
p.m.SendToAddress(tempaddr, 210000)
|
p.m.SendToAddress(tempaddr, 210000)
|
||||||
|
reserveaddr := lsp.LightningNode().GetNewAddress()
|
||||||
|
p.m.SendToAddress(reserveaddr, 50000)
|
||||||
p.m.MineBlocks(6)
|
p.m.MineBlocks(6)
|
||||||
lsp.LightningNode().WaitForSync()
|
lsp.LightningNode().WaitForSync()
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ func testOpenZeroConfUtxo(p *testParams) {
|
|||||||
|
|
||||||
tempaddr := lsp.LightningNode().GetNewAddress()
|
tempaddr := lsp.LightningNode().GetNewAddress()
|
||||||
p.m.SendToAddress(tempaddr, 210000)
|
p.m.SendToAddress(tempaddr, 210000)
|
||||||
|
reserveaddr := lsp.LightningNode().GetNewAddress()
|
||||||
|
p.m.SendToAddress(reserveaddr, 50000)
|
||||||
p.m.MineBlocks(6)
|
p.m.MineBlocks(6)
|
||||||
lsp.LightningNode().WaitForSync()
|
lsp.LightningNode().WaitForSync()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user