When a limit order is canceled due to expiration or because it is too small to fill, a virtuallimit_order_cancel operation is recorded in account history. However, we didn't save the result of the operation correctly, it was always null_result ([0,{}]), but should be an asset object which indicates what and how much is refunded. This PR should fix it.
When a limit order is canceled due to expiration or because it is too small to fill, a virtual
limit_order_cancel
operation is recorded in account history. However, we didn't save the result of the operation correctly, it was alwaysnull_result
([0,{}]
), but should be anasset
object which indicates what and how much is refunded. This PR should fix it.Example of old data:
a virtual
limit_ordre_cancel
operationa real
limit_order_cancel
operation