fix incorrect payment details hex code

This commit is contained in:
Jesse de Wit
2022-12-22 13:01:04 +01:00
parent 913c9f9ae9
commit 9471d86a20
2 changed files with 2 additions and 2 deletions

View File

@@ -182,7 +182,7 @@ func (i *ClnHtlcInterceptor) mapFailureCode(original interceptFailureCode) strin
case FAILURE_TEMPORARY_NODE_FAILURE:
return "2002"
case FAILURE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS:
return "4015"
return "400F"
default:
log.Printf("Unknown failure code %v, default to temporary channel failure.", original)
return "1007" // temporary channel failure