Err from get_route if the requested value is more than 21m BTC
authorMatt Corallo <git@bluematt.me>
Tue, 14 Aug 2018 20:40:40 +0000 (16:40 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 17 Aug 2018 00:51:50 +0000 (20:51 -0400)
commit0e6f028c3b6f9ce96e4abd3958923903b0ba6e65
tree26a2f23c3e2731f394760c32748e5e10f22156b2
parent2a0ae96fdf8ea2d9f507e1ebfd4d64d3b92126be
Err from get_route if the requested value is more than 21m BTC

This fixes a potential overflow panic.
src/ln/router.rs