lnd: update invoiceRegistry to match new switch requirements

This commit is contained in:
Olaoluwa Osuntokun
2018-06-29 16:03:46 -07:00
parent 2196d9375e
commit c19c872cff
3 changed files with 20 additions and 8 deletions

View File

@@ -2799,7 +2799,7 @@ func (r *rpcServer) LookupInvoice(ctx context.Context,
rpcsLog.Tracef("[lookupinvoice] searching for invoice %x", payHash[:])
invoice, err := r.server.invoices.LookupInvoice(payHash)
invoice, _, err := r.server.invoices.LookupInvoice(payHash)
if err != nil {
return nil, err
}