mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-11 05:11:22 +01:00
This commit fixes a minor bug that was introduced with the latest PR that made specifying the —push_amt flag when opening a channel mandatory. The fix is simple, turn the switch statement into an if/else, which makes the —push_amt flag optional once again.