lnwire: fix logging for FeeInsufficient, show amt not fee

Fixes #1548.
This commit is contained in:
Olaoluwa Osuntokun 2018-07-12 16:10:16 -07:00
parent d8fb6017cc
commit bc5bfeb479
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -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))
}