Bug asset serialization in `condenser_api::find_recurent_transfers`
I noticed incorrect condenser_api behavior
. When I use the find_recurrent_transfers
method, amount
field is returned as nai
. Condenser should return amount in legacy
format.
Expected:
{
'id': 0,
'trigger_date': '2022-08-31T13: 55: 09',
'from': 'initminer',
'to': 'alice',
'amount': 1000.000 HIVE,
'memo': '{}',
'recurrence': 720,
'consecutive_failures': 0,
'remaining_executions': 11
}
Returned:
{
'id': 0,
'trigger_date': '2022-08-31T13: 55: 09',
'from': 'initminer',
'to': 'alice',
'amount': {
'amount': '10000',
'precision': 3,
'nai': '@@000000021'
},
'memo': '{}',
'recurrence': 720,
'consecutive_failures': 0,
'remaining_executions': 11
}