mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-08 03:39:23 +00:00
feat: enable testnet
This commit is contained in:
parent
3c871e7d9d
commit
6d9c8f9356
1 changed files with 1 additions and 2 deletions
|
@ -698,8 +698,7 @@ class _MultisigSetupViewState extends ConsumerState<MultisigCoordinatorView> {
|
||||||
xpub = utf8.decode(record.payload);
|
xpub = utf8.decode(record.payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!xpub.startsWith(
|
if (!xpub.startsWith('xpub') && !xpub.startsWith('tpub')) {
|
||||||
'xpub') /* && !xpub.startsWith('tpub') and so on. */) {
|
|
||||||
setState(() => _nfcStatus = 'Invalid xPub: $xpub');
|
setState(() => _nfcStatus = 'Invalid xPub: $xpub');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue