mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-18 14:24:21 +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()
|
||||
p.m.SendToAddress(tempaddr, 210000)
|
||||
reserveaddr := lsp.LightningNode().GetNewAddress()
|
||||
p.m.SendToAddress(reserveaddr, 50000)
|
||||
p.m.MineBlocks(6)
|
||||
lsp.LightningNode().WaitForSync()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user