-
Notifications
You must be signed in to change notification settings - Fork 508
Description
I was trying to spend some inputs today when I ran into an interesting issue.
error: {"code":-4,"message":"Error: Transaction creation failed "}
Usually I get that error due to dust inputs creating to large of a transaction. So I checked
novacoind listunspent | grep amount
"amount" : 7.05400000,
"amount" : 7.05100000,
"amount" : 6.99100000,
"amount" : 7.04000000,
"amount" : 6.99000000,
"amount" : 7.03000000,
"amount" : 7.02000000,
"amount" : 7.04100000,
"amount" : 7.03000000,
"amount" : 7.05000000,
"amount" : 6.99000000,
"amount" : 6.99000000,
"amount" : 6.99000000,
"amount" : 7.05100100,
"amount" : 7.02000000,
"amount" : 7.02000000,
So only 16 unspent inputs. Which should fit into a transaction just fine. I ended up sending in multiple transactions until I got down to 0.099 NVC according to getinfo. Now it seems I have an unspendable input
novacoind getinfo
{
"version" : "nvc-v0.5.2.build-g32a928e-bdb",
"protocolversion" : 60016,
"walletversion" : 60000,
"balance" : 0.09900000,
"unspendable" : 0.00000000,
"newmint" : 147.64200100,
"stake" : 0.00000000,
"blocks" : 197491,
"timeoffset" : 0,
"moneysupply" : 1249786.88352300,
"connections" : 15,
"proxy" : "",
"ip" : "",
"difficulty" : {
"proof-of-work" : 2112.65544482,
"proof-of-stake" : 1.73846725
},
"testnet" : false,
"keypoololdest" : 1438069853,
"keypoolsize" : 101,
"paytxfee" : 0.00100000,
"mininput" : 0.00100000,
"errors" : ""
}
But that is not the balance of my unspent inputs
novacoind listunspent 0 | grep amount
"amount" : 0.09899900,
So when trying to spend this input I get nowhere
:$ novacoind sendtoaddress REMOVEDFORPRIVACY 0.989$ novacoind sendtoaddress REMOVEDFORPRIVACY 0.0989
error: {"code":-4,"message":"Insufficient funds"}
:
error: {"code":-4,"message":"Insufficient funds"}
:$ novacoind sendtoaddress REMOVEDFORPRIVACY 0.0988$ novacoind sendtoaddress REMOVEDFORPRIVACY 0.0987
error: {"code":-4,"message":"Insufficient funds"}
:
error: {"code":-4,"message":"Insufficient funds"}
:$ novacoind sendtoaddress REMOVEDFORPRIVACY 0.0986$ novacoind sendtoaddress REMOVEDFORPRIVACY 0.0985
error: {"code":-4,"message":"Insufficient funds"}
:
error: {"code":-4,"message":"Insufficient funds"}
:$ novacoind sendtoaddress REMOVEDFORPRIVACY 0.0984$ novacoind sendtoaddress REMOVEDFORPRIVACY 0.098
error: {"code":-4,"message":"Insufficient funds"}
:
error: {"code":-4,"message":"Error: Transaction creation failed "}
I havent even tried a repair wallet or rescan which ill be doing now. But I have never seen an issue quite like this before. Ill update if that fixes the issue
Edit Repair wallet and a rescan had no effect
Looks like I built from the master branch on Aug 21 19:57