Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
CCS Backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
monero-project
CCS Backend
Commits
6ceaabf2
Commit
6ceaabf2
authored
Dec 22, 2019
by
xiphon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CoinZcoin: don't skip incoming txes
parent
1cc3cedd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app/Coin/CoinZcoin.php
app/Coin/CoinZcoin.php
+1
-2
No files found.
app/Coin/CoinZcoin.php
View file @
6ceaabf2
...
...
@@ -18,8 +18,7 @@ class CoinZcoin implements Coin
public
function
onNotifyGetTransactions
(
Command
$command
,
WalletCommon
$wallet
)
{
$skip_txes
=
Deposit
::
whereNotNull
(
'tx_id'
)
->
where
(
'confirmations'
,
'>'
,
10
)
->
count
();
return
$wallet
->
scanIncomingTransfers
(
$skip_txes
)
->
each
(
function
(
$tx
)
{
return
$wallet
->
scanIncomingTransfers
()
->
each
(
function
(
$tx
)
{
$project
=
Project
::
where
(
'address'
,
$tx
->
address
)
->
first
();
if
(
$project
)
{
$tx
->
subaddr_index
=
$project
->
subaddr_index
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment