handle tesPENDING when confirming a transaction