Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Return account_transaction_history_object in get_block for transfers.
Issue #243
Can be probably make it shorter but it seems to be working.
the transfer operation return empty operation_results, the new function will place a 2.9.X here. As the operation result is already empty for transfer, client sides applications will not be affected.
Works only for the transfer operation as it needs the from account field of it to get the 2.9.X object.
The 2.9.X could be replaced by a 1.11 if we decide to don't expose 2.9 anymore(#265).
It can be extended to work with other(all?) operations but that will mean changes in the current and maybe consumed by clients operation_results functionality.
I don't expect this pull request to be accepted as it is but to build together something more general.
Samples:
block from @xeroc issue: #243
A Block with several transactions and a transfer.