wallet: reintroduce output.to to track pending spent utxo