Add back changes from revert.
Add back changes from revert.

m_tx_outputs doesn't need to be changed, as it's no longer dup list.

ranok/bitmonero,eiabea/bitmonero,eiabea/bitmonero,ranok/bitmonero,eiabea/bitmonero,eiabea/bitmonero,eiabea/bitmonero,ranok/bitmonero,ranok/bitmonero,ranok/bitmonero,ranok/bitmonero,eiabea/bitmonero