Bug serialization in `extensions` field of the `condenser_api::get_block_header` method
I noticed a problem with extension
field of the condenser_api::get_block_header
method. Field extensions
its returned in hf26
format, should be in legacy
format.
Actual:
'extensions': [
{
'type': 'version',
'value': '1.26.0'
},
{
'type': 'hardfork_version_vote',
'value': {
'hf_version': '0.1.0',
'hf_time': '2016-04-25T17:30:00'
}
}
]
Expected:
'extensions': [
[
'version', '1.26.0'
],
[
'hardfork_version_vote',
{
'hf_version': '0.1.0',
'hf_time': '2016-04-25T17:30:00'
}
]
]
Edited by Michał Kudela