mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-21 14:34:55 +01:00
FIX: Can't scan Bech32 addresses (closes #222)
This commit is contained in:
parent
a9cb1635a4
commit
1d8e00bb8d
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ export default class SendDetails extends Component {
|
|||
this.setState(
|
||||
{ isLoading: false },
|
||||
() => {
|
||||
data = data.replace('bitcoin:', '');
|
||||
if (btcAddressRx.test(data) || data.indexOf('bc1') === 0) {
|
||||
this.setState({
|
||||
address: data,
|
||||
|
|
Loading…
Add table
Reference in a new issue