diff --git a/lnwire/onion_error.go b/lnwire/onion_error.go index 10885782..f6719ea7 100644 --- a/lnwire/onion_error.go +++ b/lnwire/onion_error.go @@ -359,7 +359,7 @@ func (f FailUnknownPaymentHash) Code() FailCode { // // NOTE: Implements the error interface. func (f FailUnknownPaymentHash) Error() string { - return f.Code().String() + return fmt.Sprintf("UnknownPaymentHash(amt=%v)", f.amount) } // Decode decodes the failure from bytes stream.