mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-11 21:49:06 +02: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.