mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-24 01:04:21 +01:00
fix hop hints for lnd regular payment test
This commit is contained in:
2
go.mod
2
go.mod
@@ -4,7 +4,7 @@ go 1.19
|
||||
|
||||
require (
|
||||
github.com/aws/aws-sdk-go v1.30.20
|
||||
github.com/breez/lntest v0.0.15
|
||||
github.com/breez/lntest v0.0.16
|
||||
github.com/btcsuite/btcd v0.23.3
|
||||
github.com/btcsuite/btcd/btcec/v2 v2.2.1
|
||||
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1
|
||||
|
||||
@@ -40,7 +40,8 @@ func testRegularForward(p *testParams) {
|
||||
log.Printf("Adding bob's invoice")
|
||||
amountMsat := uint64(2100000)
|
||||
bobInvoice := p.BreezClient().Node().CreateBolt11Invoice(&lntest.CreateInvoiceOptions{
|
||||
AmountMsat: amountMsat,
|
||||
AmountMsat: amountMsat,
|
||||
IncludeHopHints: true,
|
||||
})
|
||||
log.Printf(bobInvoice.Bolt11)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user