mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-02 03:54:26 +02:00
channeldb: export now function
To allow mocking when testing other packages.
This commit is contained in:
@@ -1244,7 +1244,7 @@ func (d *DB) updateInvoice(hash lntypes.Hash, invoices, settleIndex *bbolt.Bucke
|
||||
// Update invoice state.
|
||||
invoice.State = update.State
|
||||
|
||||
now := d.now()
|
||||
now := d.Now()
|
||||
|
||||
// Update htlc set.
|
||||
for key, htlcUpdate := range update.Htlcs {
|
||||
|
Reference in New Issue
Block a user