Files
lnd.xprv/lnrpc/invoicesrpc
Olaoluwa Osuntokun 1e51ec0a2d lnrpc/invoicesrpc: clamp down on max invoice size
In this commit, we move to clamp down somewhat on the max invoice size
after the limit was removed as part of the mpp changes. In #4210, it was
reported that a value of -1, would underflow and end up as 18 million
BTC, which would trip checks w.r.t the max expressible value in mSAT.
In this commit, we clamp things down to 100k BTC, which should be more
than enough for anybody.

Fixes #4210.
2020-04-21 16:44:44 -07:00
..
2020-04-09 19:02:08 -07:00
2019-02-01 09:42:35 +01:00
2020-04-09 19:02:08 -07:00
2020-03-10 20:19:08 +01:00
2020-03-10 20:19:08 +01:00
2019-02-01 09:42:35 +01:00