Skip to content

Commit

Permalink
Merge pull request #37 from aliascash/android/increase_trx_timeouts
Browse files Browse the repository at this point in the history
Android: increase core timeout for creating trx from 30 to 180 seconds
  • Loading branch information
HLXEasy authored Sep 20, 2021
2 parents 1a18eab + 1b1fe56 commit e7c4dfe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-featurebranch-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- android_*
- android/*

jobs:
# ==========================================================================
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-featurebranch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- 'master'
- 'develop'
- '*android*'
- 'android/*'

jobs:
# ==========================================================================
Expand Down
4 changes: 2 additions & 2 deletions src/qt/spectreclientbridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ void SpectreClientBridge::sendCoins(bool fUseCoinControl, QString sChangeAddr)
else
sendResultPendingReply = window->walletModel->sendCoins(0, recipients, coins);

if (!sendResultPendingReply.waitForFinished())
if (!sendResultPendingReply.waitForFinished(180000))
return abortSendCoins(tr("Core not responding."));

sendResult = sendResultPendingReply.returnValue();
Expand All @@ -246,7 +246,7 @@ void SpectreClientBridge::sendCoins(bool fUseCoinControl, QString sChangeAddr)
sendResultPendingReply = window->walletModel->sendCoinsAnon(sendResult.fee(), recipients, coins);
else
sendResultPendingReply = window->walletModel->sendCoins(sendResult.fee(), recipients, coins);
if (!sendResultPendingReply.waitForFinished())
if (!sendResultPendingReply.waitForFinished(180000))
return abortSendCoins(tr("Core not responding."));
sendResult = sendResultPendingReply.returnValue();
sendCoinsStatus = sendResult.status();
Expand Down

0 comments on commit e7c4dfe

Please sign in to comment.