From 62ec877ea7fc3ad0c4bf24732137cb6ba05d66e8 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Thu, 8 Oct 2020 10:35:38 -0700 Subject: [PATCH] fix(Send BCH): Removing validation of BCH addresses when scanning QR --- src/components/admin-lte/send-receive/send.js | 105 +++++++++--------- 1 file changed, 54 insertions(+), 51 deletions(-) diff --git a/src/components/admin-lte/send-receive/send.js b/src/components/admin-lte/send-receive/send.js index 3e2d5a7..2498e46 100644 --- a/src/components/admin-lte/send-receive/send.js +++ b/src/components/admin-lte/send-receive/send.js @@ -36,77 +36,83 @@ class Send extends React.Component { - +

Send

- + } /> } /> -
+

{_this.state.sendCurrency === 'BCH' - ? `USD: ${(_this.state.amountSat * (_this.props.currentRate / 100)).toFixed(2)}` - : `BCH: ${(_this.state.amountSat / (_this.props.currentRate / 100)).toFixed(8)}`} + ? `USD: ${( + _this.state.amountSat * + (_this.props.currentRate / 100) + ).toFixed(2)}` + : `BCH: ${( + _this.state.amountSat / + (_this.props.currentRate / 100) + ).toFixed(8)}`}