add option to disable spv; just in case

This commit is contained in:
ThomasV 2012-10-28 08:58:21 +01:00
parent 3a8a649d4e
commit fa870d83b9
1 changed files with 4 additions and 1 deletions

View File

@ -212,7 +212,10 @@ if __name__ == '__main__':
verifier = WalletVerifier(interface, config)
wallet.set_verifier(verifier)
verifier.start()
if not config.get('disable_spv'):
verifier.start()
else:
print "warning: SPV is disabled"
gui.main(url)
wallet.save()