RC delegation JSON without a valid max_rc property incorrectly considered as undelegation
If you issue a RC delegation custom_json with a missing (or mistyped) max_rc property, the max_rc value is considered 0, and any existing delegation is removed.
ex:
-
delegation :
["delegate_rc",{"max_rc":100,"from":"arcange","delegatees":["arcange-1"]}]
https://hiveblocks.com/tx/b6f5e72db91ee5afb4605a07ffc5d08c032ab2dc -
invalid delegation:
["delegate_rc",{"the_rc":101,"from":"arcange","delegatees":["arcange-1"]}]
https://hiveblocks.com/tx/8a466248a74c22fda191cd7b8a35eea01a8f27d1