Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
fix tumbler bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew K committed Mar 22, 2017
1 parent c6bdcae commit f8b7e42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tumbler.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import os
import json
import bitcoin as btc
import re

# data_dir = os.path.dirname(os.path.realpath(__file__))
# sys.path.insert(0, os.path.join(data_dir, 'joinmarket'))
Expand Down Expand Up @@ -47,7 +48,7 @@ def save_session_to_file (tumbler,wallet_file,destaddrs,filename):
f.write('"next_tx": 0}\n')
f.close()

def update_session_balance_by_mixdepth (sessionnzame,balance_by_mixdepth):
def update_session_balance_by_mixdepth (sessionname,balance_by_mixdepth):
sessionfilename = os.path.join(script_dir,'sessions/'+sessionname)
if os.path.isfile(sessionfilename):
with open(sessionfilename, "r") as sources:
Expand Down

0 comments on commit f8b7e42

Please sign in to comment.