Raise refresh timeout in xmr findTxnByHash

This commit is contained in:
tecnovert 2023-04-03 21:29:06 +02:00
parent 90aaa46918
commit 3a97c0c7bb
No known key found for this signature in database
GPG key ID: 8ED6D8750C4E3F93

View file

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