wallet: reintroduce output.to to track pending spent utxo
Merge pull request #233 from weilu/pending-spending-utxo

wallet: reintroduce output.to to track pending spent utxo