mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
bitcoin_from_base58 returns a testnet flag, but json_withdraw did not actually check it. Add a basic check that the given withdraw address belongs to the same net lightningd is using.