mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-03 22:34:21 +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.