fixed txn creation bug for an address outside of the wallet