From c42db2f96882e83ef3850f4a5ffe4cf1e009e8aa Mon Sep 17 00:00:00 2001 From: Jesse de Wit Date: Thu, 22 Dec 2022 15:31:48 +0100 Subject: [PATCH] fix hop hints for lnd regular payment test --- go.mod | 2 +- itest/regular_forward_test.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index bb38b44..d667517 100644 --- a/go.mod +++ b/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 diff --git a/itest/regular_forward_test.go b/itest/regular_forward_test.go index 61c22a7..cd788b6 100644 --- a/itest/regular_forward_test.go +++ b/itest/regular_forward_test.go @@ -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)