mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-05 11:28:49 +02:00
[rpc] refactor: consolidate sendmany and sendtoaddress code
The only new behavior is some error codes are changed from -4 to -6.
This commit is contained in:
8
doc/release-notes-18202.md
Normal file
8
doc/release-notes-18202.md
Normal file
@@ -0,0 +1,8 @@
|
||||
Low-level RPC Changes
|
||||
---------------------
|
||||
|
||||
- To make RPC `sendtoaddress` more consistent with `sendmany` the following error
|
||||
`sendtoaddress` codes were changed from `-4` to `-6`:
|
||||
- Insufficient funds
|
||||
- Fee estimation failed
|
||||
- Transaction has too long of a mempool chain
|
||||
Reference in New Issue
Block a user