set command: authorize by default, forbid only when dangerous
authorThomasV <thomasv@gitorious>
Fri, 26 Oct 2012 05:05:22 +0000 (07:05 +0200)
committerThomasV <thomasv@gitorious>
Fri, 26 Oct 2012 05:05:22 +0000 (07:05 +0200)
electrum

index 7367cdf..539fa4a 100755 (executable)
--- a/electrum
+++ b/electrum
@@ -439,7 +439,7 @@ if __name__ == '__main__':
 
     elif cmd == 'set':
         key, value = args[1:3]
-        if key in ['gui', 'server', 'proxy', 'fee', 'gap_limit', 'use_change']:
+        if key not in ['seed_version', 'master_public_key', 'use_encryption']:
             wallet.config.set_key(key, value, True)
             print True
         else: