mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-26 21:51:27 +02:00
multi: add NewLogClosure
in lnutils
to avoid repetition
And replaces all usage of `logClosure` with `lnutils.LogClosure`.
This commit is contained in:
@@ -313,7 +313,7 @@ func (t *TxPublisher) isNeutrinoBackend() bool {
|
||||
//
|
||||
// NOTE: part of the Bumper interface.
|
||||
func (t *TxPublisher) Broadcast(req *BumpRequest) (<-chan *BumpResult, error) {
|
||||
log.Tracef("Received broadcast request: %s", newLogClosure(
|
||||
log.Tracef("Received broadcast request: %s", lnutils.NewLogClosure(
|
||||
func() string {
|
||||
return spew.Sdump(req)
|
||||
})())
|
||||
|
Reference in New Issue
Block a user