SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 39a03a64d5441985cfb063cd288e92095da38f12
parent 781e415923e52627b9c3b0294cd54f32a4b8bcce
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Fri,  5 Feb 2021 00:08:50 +1100

fix false exception raise

Diffstat:
Mserver.py | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/server.py b/server.py @@ -80,10 +80,7 @@ def make_payment(payload): # Get payment method, use one specified in query string if provided if "method" in payload.keys(): - if payload['method'] == 'lnd': payment_method = payload['method'] - else: - raise Exception("Invalid payment method supplied to query string: {}".format(payload['method'])) else: payment_method = config.pay_method