mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
Raise refresh timeout in xmr findTxnByHash
This commit is contained in:
@@ -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']
|
||||||
|
|||||||
Reference in New Issue
Block a user