Skip to content

Commit

Permalink
Merge pull request #13 from MAGICGrants/scripts
Browse files Browse the repository at this point in the history
chore: debug monero open_wallet rpc response
  • Loading branch information
SamsungGalaxyPlayer authored Oct 15, 2024
2 parents d7c2d0e + 60206d1 commit e75deb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def open_bitcoin_wallet():

def open_monero_wallet() -> None:
params = {'filename': 'wallet', 'password': env.MONERO_WALLET_PASSWORD}
request_monero_rpc('open_wallet', params)
print(request_monero_rpc('open_wallet', params))

def wait_for_rpc():
print('Waiting for Electrum RPC...')
Expand Down Expand Up @@ -107,7 +107,8 @@ def wait_for_wallets():
try:
open_monero_wallet()
break
except:
except Exception as e:
print(e)
time.sleep(10)

def get_kraken_signature(url: str, payload: dict):
Expand Down

0 comments on commit e75deb0

Please sign in to comment.