Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed 'account' field for state send subtype in 'account_history' RPC…
… call (#819)
- Loading branch information
ef5cfee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs updated to support the
raw
option. If requesting history via a head block, the requester may not know the account.ef5cfee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I realize now this commit is incomplete. It's still inconsistent with receive blocks. For legacy
receive
blocks,account_history
returns the source account, but for subtype receive state blocks, it returns the block's account.@PlasmaPower Doesn't it make more sense for
head
to return the chain's account -outside- the block list, e.g.:I don't get the point of repeating the same account over and over in the history list.
#818