Fixed a bug on sending unconfirmed tx