From 0fdb12e54186850a664d0524aa692eda683fc0af Mon Sep 17 00:00:00 2001 From: Shawn Wilkinson Date: Tue, 8 Sep 2015 09:43:52 -0400 Subject: [PATCH] SHOW_CONFIG_TEMPLATE Bug Payout address was displayed for both, and the params for format were in the reverse order. --- dataserv_client/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dataserv_client/api.py b/dataserv_client/api.py index 33981a4..22ea04d 100644 --- a/dataserv_client/api.py +++ b/dataserv_client/api.py @@ -23,7 +23,7 @@ SHOW_CONFIG_TEMPLATE = """Current configuration. Authentication address: {0} - Payout address: {0} + Payout address: {1} """ @@ -124,8 +124,8 @@ def config(self, set_wallet=None, set_payout_address=None): # display config print(SHOW_CONFIG_TEMPLATE.format( - self.cfg["payout_address"], self.messenger.auth_address(), + self.cfg["payout_address"] )) return self.cfg