Fix the bug with createrawtransaction