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
830b2024
Commit
830b2024
authored
Apr 21, 2020
by
xiphon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MoneroNotify: 'height' argument might be undefined (wallet:notify)
parent
76e82307
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/Coin/CoinMonero.php
app/Coin/CoinMonero.php
+2
-1
No files found.
app/Coin/CoinMonero.php
View file @
830b2024
...
...
@@ -2,6 +2,7 @@
namespace
App\Coin
;
use
App\Deposit
;
use
Illuminate\Console\Command
;
use
Monero\WalletCommon
;
...
...
@@ -16,7 +17,7 @@ class CoinMonero implements Coin
public
function
onNotifyGetTransactions
(
Command
$command
,
WalletCommon
$wallet
)
{
$min_height
=
$command
->
argument
(
'height'
)
??
Deposit
::
max
(
'block_received'
);
$min_height
=
$command
->
argument
s
()[
'height'
]
??
Deposit
::
max
(
'block_received'
);
return
$wallet
->
scanIncomingTransfers
(
max
(
$min_height
,
50
)
-
50
);
}
...
...
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