default parameter for addresses() command
authorthomasv <thomasv@gitorious>
Fri, 1 Mar 2013 08:58:06 +0000 (09:58 +0100)
committerthomasv <thomasv@gitorious>
Fri, 1 Mar 2013 08:58:06 +0000 (09:58 +0100)
lib/commands.py

index be45f9d..ac1ee5b 100644 (file)
@@ -286,7 +286,7 @@ class Commands:
         return c
 
 
-    def addresses(self, show_all):
+    def addresses(self, show_all = False):
         out = []
         for addr in self.wallet.all_addresses():
             if show_all or not self.wallet.is_change(addr):