saving unspent txs