From bc5bfeb479d5123ad3c9cfc8bf9636bb1535802e Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 12 Jul 2018 16:10:16 -0700 Subject: [PATCH] lnwire: fix logging for FeeInsufficient, show amt not fee Fixes #1548. --- lnwire/onion_error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnwire/onion_error.go b/lnwire/onion_error.go index 49514ca7..cde35165 100644 --- a/lnwire/onion_error.go +++ b/lnwire/onion_error.go @@ -663,7 +663,7 @@ func (f *FailFeeInsufficient) Code() FailCode { // // NOTE: Implements the error interface. func (f FailFeeInsufficient) Error() string { - return fmt.Sprintf("FeeInsufficient(fee=%v, update=%v", f.HtlcMsat, + return fmt.Sprintf("FeeInsufficient(htlc_amt==%v, update=%v", f.HtlcMsat, spew.Sdump(f.Update)) }