Commit Graph
1 Commits
Author SHA1 Message Date
Anton Kovalenko 7758fd1438 lncli addinvoice: allow specifying msat with --amt_msat
* pass amt and amt_msat to rpc, letting server give an error if both
are present

* take amt from an extra argument if neither amt nor amt_ms are
present

implementation analogous to 298f35cdfb,
which is for addholdinvoice.
2021-02-10 00:20:11 +03:00