Commit 6ceaabf2 authored by xiphon's avatar xiphon
Browse files

CoinZcoin: don't skip incoming txes

parent 1cc3cedd
...@@ -18,8 +18,7 @@ class CoinZcoin implements Coin ...@@ -18,8 +18,7 @@ class CoinZcoin implements Coin
public function onNotifyGetTransactions(Command $command, WalletCommon $wallet) public function onNotifyGetTransactions(Command $command, WalletCommon $wallet)
{ {
$skip_txes = Deposit::whereNotNull('tx_id')->where('confirmations', '>', 10)->count(); return $wallet->scanIncomingTransfers()->each(function ($tx) {
return $wallet->scanIncomingTransfers($skip_txes)->each(function ($tx) {
$project = Project::where('address', $tx->address)->first(); $project = Project::where('address', $tx->address)->first();
if ($project) { if ($project) {
$tx->subaddr_index = $project->subaddr_index; $tx->subaddr_index = $project->subaddr_index;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment