Rather than a message that's readable, it just returns this: $ bitcoin-cli sendrawtransaction 01000000018368ead3c8677725a71ba7d17dc181ef41ebafcddd833dc67842ed155e6620780000000049483045022100a62a6379db25aada0c0252c3bcac95038992327d851f85f455c85d12fc935b0a022020d01881135a35f173c7d58dc98cb09017e23bbbc182d8c993e10da6ebb8a68a01ffffffff0100301a1e010000001976a914c04b7b7d1d6de24c83a77dd229e1f4488b09ee9f88ac00000000 error: {"code":-25,"message":""}
Insane fee check doesn't return clear error to the sendrawtransaction RPC #4341
issue Michagogo opened this issue on June 15, 2014-
Michagogo commented at 3:57 PM on June 15, 2014: contributor
-
elichai commented at 5:48 PM on June 15, 2014: contributor
Thanks for openning an issue, but if you'll add 'true' after the hex it will work, becuase 'sendrawtransaction' is accepting two arguements:
- "hexstring" (string, required) The hex string of the raw transaction)
- allowhighfees (boolean, optional, default=false) Allow high fees
-
elichai commented at 6:05 PM on June 15, 2014: contributor
drak, you right. i'm sorry.
- laanwj added the label RPC on Jul 31, 2014
-
macoymejia commented at 7:47 AM on August 5, 2014: none
I already tried allowhighfees to "true", but still gives me -25 error code
bitcoind sendrawtransaction -hex- true error: {"code":-25,"message":""}
-
Michagogo commented at 2:20 PM on August 5, 2014: contributor
@macoymejia You seem to be missing, uh, the actual transaction...
-
macoymejia commented at 2:51 AM on August 10, 2014: none
oopsie... yeah there's <hex string> parameter (I thought comment will parse < and > as I type)
anyway... I found out that I'm sending invalid unspent item. no more -25 error :) thanks @Michagogo
-
priiduneemre commented at 12:04 PM on March 17, 2015: none
Still... in the long run, maybe a more descriptive error message should be returned when bouncing against the 'insane fee' check of
sendrawtransaction(..)?Took me quite a while to figure out what was wrong with my raw transaction and the generic error response wasn't really helping either:
{"result":null,"error":{"code":-25,"message":""},"id":"e7040c392ccb4adb92770dc168d97ae6"} -
paveljanik commented at 8:01 PM on October 1, 2015: contributor
Fixed now?
-
laanwj commented at 8:44 PM on October 1, 2015: member
Yes.
- laanwj closed this on Oct 1, 2015
- DrahtBot locked this on Sep 8, 2021