Skip to content

Commit

Permalink
Fix failed transaction request (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
R3VoLuT1OneR authored and dajohi committed Mar 13, 2018
1 parent befef02 commit a2416da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Cron/OrderStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ public function execute()
->getDataClient()
->getAddressRaw($address, $timestamp);

foreach ($transactions as $transaction) {
$this->processTransaction($decredOder, $transaction);
if (is_array($transactions)) {
foreach ($transactions as $transaction) {
$this->processTransaction($decredOder, $transaction);
}
}
}
}
Expand Down

0 comments on commit a2416da

Please sign in to comment.