invoices: subscribe single invoice
This commit is contained in:
2 files changed
+205
-34
No files matched your search
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user