From 6a7efaed91200ff7b43bf341799d3b9a1c3f6d8e Mon Sep 17 00:00:00 2001 From: Overtorment Date: Mon, 23 Nov 2020 16:06:53 +0000 Subject: [PATCH] FIX: Disregarding curent denomination on send screen, scanning address always resets it to BTC (closes #2088) --- screen/send/details.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/screen/send/details.js b/screen/send/details.js index 8a9a3fa20..98f02eece 100644 --- a/screen/send/details.js +++ b/screen/send/details.js @@ -278,11 +278,10 @@ export default class SendDetails extends Component { if (this.state.fromWallet.isAddressValid(dataWithoutSchema)) { recipients[[this.state.recipientsScrollIndex]].address = dataWithoutSchema; const units = this.state.units; - units[this.state.recipientsScrollIndex] = BitcoinUnit.BTC; // also resetting current unit to BTC + units[this.state.recipientsScrollIndex] = this.state.amountUnit; this.setState({ address: recipients, isLoading: false, - amountUnit: BitcoinUnit.BTC, units, }); } else {