I am not entirely convinced this is all that needs to be done. We still need a test for histories containing staking transactions.
There is also a residual issue; if the history contains large numbers of items (i.e. it reaches the maximum without traversing the entire wallet) then staking transaction amounts appear incorrectly. This is because the input that will cause the amount to be normalised (i.e. to 1) does not get processed.
I am not entirely convinced this is all that needs to be done. We still need a test for histories containing staking transactions.
There is also a residual issue; if the history contains large numbers of items (i.e. it reaches the maximum without traversing the entire wallet) then staking transaction amounts appear incorrectly. This is because the input that will cause the amount to be normalised (i.e. to 1) does not get processed.