Raise refresh timeout in xmr findTxnByHash

2024-05-20_merge
tecnovert 2 years ago
parent 90aaa46918
commit 3a97c0c7bb
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
  1. 2
      basicswap/interface/xmr.py

@ -341,7 +341,7 @@ class XMRInterface(CoinInterface):
def findTxnByHash(self, txid): def findTxnByHash(self, txid):
with self._mx_wallet: with self._mx_wallet:
self.openWallet(self._wallet_filename) self.openWallet(self._wallet_filename)
self.rpc_wallet_cb('refresh') self.rpc_wallet_cb('refresh', timeout=600)
try: try:
current_height = self.rpc_cb2('get_height', timeout=30)['height'] current_height = self.rpc_cb2('get_height', timeout=30)['height']

Loading…
Cancel
Save