]> Untitled Git - bdk-cli/commit
fix(create_tx): enforce single recipient for send_all
authorArtemiy <artem.pospelov2018@yandex.ru>
Sun, 21 Jun 2026 07:11:17 +0000 (10:11 +0300)
committerArtemiy <artem.pospelov2018@yandex.ru>
Fri, 26 Jun 2026 05:10:33 +0000 (08:10 +0300)
commit50d248cfc482bf5d7807b84182e7f19b104ab49b
tree2010c092161e99650e1c91915860b2804961c3d1
parent4a8e3ce24d64d66094c639e0d48015f2128fd2a6
fix(create_tx): enforce single recipient for send_all

Previously, passing multiple --to arguments with --send_all would
silently drain the wallet to only the first recipient, ignoring the
rest. This was inconsistent with the silent-payments create_tx, which
already validates the recipient count.

Now returns an error unless exactly one recipient is provided
CHANGELOG.md
src/handlers.rs