condenser icon indicating copy to clipboard operation
condenser copied to clipboard

When you put "^_^" in the title it won't publish (Transaction broadcast error: Permlink is not a valid size.)

Open DoctorLai opened this issue 6 months ago • 3 comments

  1. Put "^_^" in the title
  2. error: Transaction broadcast error: Permlink is not a valid size.

Image

DoctorLai avatar Jun 06 '25 20:06 DoctorLai

It seems the error is from steemd:

image.png

Here: https://github.com/steemit/steem/blob/main/libraries/chain/steem_evaluator.cpp#L852 and Here: https://github.com/steemit/steem/blob/main/libraries/chain/steem_evaluator.cpp#L50

DoctorLai avatar Jun 09 '25 08:06 DoctorLai

I don't think because you got the error message Permlink is not a valid size. Your error message should have caused by the first assertion. The definitions are

#define STEEM_MIN_PERMLINK_LENGTH             0
#define STEEM_MAX_PERMLINK_LENGTH             256

But your permlink has the length 3 and would therefore be valid for steemd.

only-dev-time avatar Jun 09 '25 18:06 only-dev-time

@only-dev-time The title actually contains more characters, if you post-fix it with "^_^" then it will trigger this error.

doctorlai-msrc avatar Jun 09 '25 18:06 doctorlai-msrc