Fix telBAD_PUBLIC_KEY message:

The previous error description was focused on keys that are too long,
but this error can occur if the key is too short or does not contain
the correct prefix.
This commit is contained in:
mDuo13
2021-01-19 15:37:01 -08:00
committed by manojsdoshi
parent a4a46a491f
commit c3227a67ec

View File

@@ -105,7 +105,7 @@ transResults()
MAKE_ERROR(telLOCAL_ERROR, "Local failure."),
MAKE_ERROR(telBAD_DOMAIN, "Domain too long."),
MAKE_ERROR(telBAD_PATH_COUNT, "Malformed: Too many paths."),
MAKE_ERROR(telBAD_PUBLIC_KEY, "Public key too long."),
MAKE_ERROR(telBAD_PUBLIC_KEY, "Public key is not valid."),
MAKE_ERROR(telFAILED_PROCESSING, "Failed to correctly process transaction."),
MAKE_ERROR(telINSUF_FEE_P, "Fee insufficient."),
MAKE_ERROR(telNO_DST_PARTIAL, "Partial payment to create account not allowed."),