proper label for Web 2FA warning

This commit is contained in:
scgbckbone 2025-09-25 14:31:34 +02:00
parent 041f803155
commit 08df482119

View File

@ -125,10 +125,10 @@ class SpendingPolicy(dict):
raise SpendPolicyViolation("whitelist: " + addr)
# Web 2FA
# - slow, requires UX, and they might not acheive it...
# - slow, requires UX, and they might not achieve it...
# - wait until about to do signature
if pol.get('web2fa', False):
psbt.warnings.append(('CCC', 'Web 2FA required.'))
psbt.warnings.append((pol.nvkey.upper(), 'Web 2FA required.'))
return True
async def web2fa_challenge(self, msg):