diff options
| author | Adam Soltys <[email protected]> | 2026-09-29 08:37:39 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-29 08:37:47 -0700 |
| commit | 41a5819f5d7c662a5a2884952e49a14464e83c41 (patch) | |
| tree | 54b690578204c920269d31470d694984a80f776d /test.php | |
| parent | 598a142e852b4682888aceac0d2d8dc39e0f981c (diff) | |
| download | coinos-server-41a5819f5d7c662a5a2884952e49a14464e83c41.tar.gz coinos-server-41a5819f5d7c662a5a2884952e49a14464e83c41.zip | |
payments: refuse on-chain sends to blocked addresses before debiting
debit() checks blocked_addresses against the payment hash, which for an
on-chain send is the txid, so a blocked destination address was never
matched. Check each output address of the built transaction in sendOnchain
and fail before any debit.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'test.php')
0 files changed, 0 insertions, 0 deletions
