invoices: subscribe single invoice

This commit is contained in:
Joost Jager committed 2019-02-01 09:43:03 +01:00
1 parent 436dd41c77
commit acb0162443
2 files changed
+205 -34

No files matched your search

+1 -1
View File
@@ -3320,7 +3320,7 @@ func (r *rpcServer) AddInvoice(ctx context.Context,
)
// With all sanity checks passed, write the invoice to the database.
addIndex, err := r.server.invoices.AddInvoice(newInvoice)
addIndex, err := r.server.invoices.AddInvoice(newInvoice, rHash)
if err != nil {
return nil, err
}