mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
build: fixup new linter issues
This commit is contained in:
parent
451311d582
commit
4d34eb97ce
6 changed files with 42 additions and 34 deletions
|
|
@ -161,7 +161,7 @@ func (ctx *Context) AssertPaid(
|
|||
expectedMemo)
|
||||
}
|
||||
|
||||
payReq := ctx.DecodeInvoice(swapPayment.Invoice)
|
||||
payReq := ctx.DecodeInvoice(swapPayment.SendPaymentRequest.Invoice)
|
||||
|
||||
_, ok := ctx.PaidInvoices[*payReq.Description]
|
||||
require.False(
|
||||
|
|
|
|||
|
|
@ -262,5 +262,7 @@ func (s *LndMockServices) DecodeInvoice(request string) (*zpay32.Invoice,
|
|||
func (s *LndMockServices) SetFeeEstimate(confTarget int32,
|
||||
feeEstimate chainfee.SatPerKWeight) {
|
||||
|
||||
s.WalletKit.(*mockWalletKit).setFeeEstimate(confTarget, feeEstimate)
|
||||
s.LndServices.WalletKit.(*mockWalletKit).setFeeEstimate(
|
||||
confTarget, feeEstimate,
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue