Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
token
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wallet
token
Commits
e2789c7b
Commit
e2789c7b
authored
May 29, 2019
by
shajiaiming
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/trade-node' into 'master'
打币确认 See merge request
!23
parents
1a1edc91
3db2739c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Chain33Business.php
common/business/Chain33Business.php
+2
-2
ReleaseCheckController.php
console/controllers/ReleaseCheckController.php
+2
-1
No files found.
common/business/Chain33Business.php
View file @
e2789c7b
...
...
@@ -255,9 +255,9 @@ class Chain33Business
* @param array $hashes
* @return array
*/
public
static
function
getTxByHashs
(
$hashes
)
public
static
function
getTxByHashs
(
$hashes
,
$node_params
=
[]
)
{
$service
=
new
Chain33Service
();
$service
=
new
Chain33Service
(
$node_params
);
return
$service
->
getTxByHashes
(
$hashes
);
}
...
...
console/controllers/ReleaseCheckController.php
View file @
e2789c7b
...
...
@@ -124,7 +124,8 @@ class ReleaseCheckController extends Controller
foreach
(
$coin_release_checkItems
as
$coin_release_check
){
$coin_release_list
=
CoinReleaseList
::
findOne
(
$coin_release_check
->
list_id
);
if
(
$coin_release_list
)
{
$result
=
Chain33Business
::
getTxByHashs
([
$coin_release_check
->
txhash
]);
$node_params
=
Yii
::
$app
->
params
[
'chain_parallel'
][
'secondary'
];
$result
=
Chain33Business
::
getTxByHashs
([
$coin_release_check
->
txhash
],
$node_params
);
if
(
$result
[
'code'
]
==
0
)
{
$result
=
$result
[
'result'
][
'txs'
][
0
][
'receipt'
][
'ty'
]
??
0
;
if
(
$result
==
1
)
{
...
...
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