fix unconfirmed_transactions()