replace get_block with get_block_header_state#582
Conversation
|
Hey there guys I want to say this improvement is great! I though about using get_block_header_state before but didn't know how to extract the prefix. There is a constraint though when using it. {"code":400,"message":"Unknown Block","error":{"code":3100002,"name":"unknown_block_exception","what":"Unknown block","details":[{"message":"Could not find reversible block: 44517609","file":"chain_plugin.cpp","line_number":1875,"method":"get_block_header_state"}]}} Meaning that this will fail for 2 cases: I have implemented in eos-sharp a fallback to get_block for those cases here: |
|
Dang it. @c0d3ster we'll have to add a fallback or revert the change. |
Improve #581