From ee2b84dcc57299cf396435f977d10daeca08960d Mon Sep 17 00:00:00 2001 From: Jay Graber Date: Tue, 23 May 2017 00:03:42 -0700 Subject: [PATCH] Add comments --- xcat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xcat.py b/xcat.py index db03791..d17da38 100644 --- a/xcat.py +++ b/xcat.py @@ -18,7 +18,7 @@ def check_p2sh(currency, address): def set_price(): trade = {} #TODO: make currencies interchangeable. Save to a tuple? - sell = input("Which currency are you selling? (bitcoin)") + sell = input("Which currency would you like to trade out of? (bitcoin)") sell = 'bitcoin' buy = 'zcash' sell_amt = input("How much {0} do you want to sell?".format(sell)) @@ -172,6 +172,7 @@ if __name__ == '__main__': # TODO: Get trade indicated by id number # TODO: pass trade into functions? + # TODO: workflow framed as currency you're trading out of being sell. appropriate? trade = get_trade() if role == "i":