mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-21 03:21:56 +01:00
08fc6f6cfc[rpc] refactor: consolidate sendmany and sendtoaddress code (Sjors Provoost) Pull request description: I consolidated code between these two RPC calls, since `sendtoaddress` is essentially `sendmany` with 1 destination. Unless I overlooked something, the only behaviour change is that some `sendtoaddress` error codes changed from `-4` to `-6`. The release note mentions this. Salvaged from #18201. ACKs for top commit: fjahr: Code review ACK08fc6f6cfcjonatack: ACK08fc6f6cfcmeshcollider: Code review & functional test run ACK08fc6f6cfcTree-SHA512: 7b66c52fa0444a4d02fc3f81d9c2a386794d447616026a30111eda35fb46510475eea6506a9ceda00bb4e0230ebb758da5d236b3ac05c954c044fa68a1e3e909
32 KiB
Executable File
32 KiB
Executable File