From d98507abcfc54df572da1506d90cd914370941e4 Mon Sep 17 00:00:00 2001 From: hackerrdave Date: Mon, 2 Jul 2018 23:20:17 -0400 Subject: [PATCH] update comment for AddInvoice --- invoiceregistry.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/invoiceregistry.go b/invoiceregistry.go index 186089c3..283c5359 100644 --- a/invoiceregistry.go +++ b/invoiceregistry.go @@ -55,10 +55,10 @@ func newInvoiceRegistry(cdb *channeldb.DB) *invoiceRegistry { } } -// addDebugInvoice adds a debug invoice for the specified amount, identified +// AddDebugInvoice adds a debug invoice for the specified amount, identified // by the passed preimage. Once this invoice is added, subsystems within the -// daemon add/forward HTLCs are able to obtain the proper preimage required -// for redemption in the case that we're the final destination. +// daemon add/forward HTLCs that are able to obtain the proper preimage +// required for redemption in the case that we're the final destination. func (i *invoiceRegistry) AddDebugInvoice(amt btcutil.Amount, preimage chainhash.Hash) { paymentHash := chainhash.Hash(sha256.Sum256(preimage[:]))