<!-- Describe the issue -->
On TESTNET currently, sending this:
bitcoin-cli -rpcport=18332 sendmany "" "{\"2N1xuawT4ndgDGR6g3Z3x8LR9oSvqjnN3jf\":0.000099,\"2N2HJYuPaJEmRvzvkRcQEUCyDRCy3LTFkWt\":0.000099}" 1 "" "[\"2N1xuawT4ndgDGR6g3Z3x8LR9oSvqjnN3jf\",\"2N2HJYuPaJEmRvzvkRcQEUCyDRCy3LTFkWt\"]"
I'd expect in the transaction log for the amount and fee to add up to 0.000099
However, it's consistently over by a few satoshis EG: −0.00009987 is the total of the above command for one of the addresses: Here is the transaction dump
`18 => array:13 [▼
"address" => "2N1xuawT4ndgDGR6g3Z3x8LR9oSvqjnN3jf"
"category" => "send"
"amount" => -9.9E-5
"vout" => 2
"fee" => -1.74E-6
"confirmations" => 0
"trusted" => true
"txid" => "3db4c309feb48162f586945b657025b5da4bddf810306cda8383bb7bd46ee842"
"walletconflicts" => []
"time" => 1605425133
"timereceived" => 1605425133
"bip125-replaceable" => "no"
"abandoned" => false
] 19 => array:13 [▼
"address" => "2N2HJYuPaJEmRvzvkRcQEUCyDRCy3LTFkWt"
"category" => "send"
"amount" => -9.9E-5
"vout" => 1
"fee" => -1.74E-6
"confirmations" => 0
"trusted" => true
"txid" => "3db4c309feb48162f586945b657025b5da4bddf810306cda8383bb7bd46ee842"
"walletconflicts" => []
"time" => 1605425133
"timereceived" => 1605425133
"bip125-replaceable" => "no"
"abandoned" => false
]`
is my node/wallet paying the extra?
Expected behavior
I'd expect the sum of amount and fee to equal the amount I'm sending out
Actual behavior
The total of sum and fee is MORE than the amount I specify
To reproduce
Run the bitcoin-cli command above and check the transaction data. (Feel free to change the addresses :) )
System information
<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->
Bitcoin Core RPC client version v0.20.0 Self compiled
<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->
Google Hosted Linux (I think Ubnuntu, will check with my Dev Ops Manager)
<!-- Any extra information that might be useful in the debugging process. -->
There's no 'errors' per-se. it all seems to process, but the fee is too high.
<!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->