feat: enable testnet

This commit is contained in:
sneurlax 2024-12-30 19:11:32 -06:00
parent 3c871e7d9d
commit 6d9c8f9356

View file

@ -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;
} }