fix hop hints for lnd regular payment test

This commit is contained in:
Jesse de Wit
2022-12-22 15:31:48 +01:00
parent 58367bafef
commit c42db2f968
2 changed files with 3 additions and 2 deletions

2
go.mod
View File

@@ -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

View File

@@ -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)