Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chain33-sdk-go
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
link33
chain33-sdk-go
Commits
d6e59899
Commit
d6e59899
authored
Dec 08, 2021
by
harrylee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a bug for query callbackmeta
parent
e47c0e55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
jsonclient.go
client/jsonclient.go
+2
-3
No files found.
client/jsonclient.go
View file @
d6e59899
...
@@ -561,12 +561,11 @@ func (client *JSONClient) QueryCallBackMeta() (*types.Meta, error) {
...
@@ -561,12 +561,11 @@ func (client *JSONClient) QueryCallBackMeta() (*types.Meta, error) {
FuncName
:
broker
.
FuncNameQueryCallBackMeta
,
FuncName
:
broker
.
FuncNameQueryCallBackMeta
,
Payload
:
jsonraw
,
Payload
:
jsonraw
,
}
}
var
meta
types
.
Meta
data
,
err
:=
client
.
CallBack
(
"Chain33.Query"
,
query
,
ParseMeta
)
err
=
client
.
Call
(
"Chain33.Query"
,
query
,
&
meta
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
return
&
meta
,
nil
return
data
.
(
*
types
.
Meta
)
,
nil
}
}
func
(
client
*
JSONClient
)
QueryOutMessage
(
inServicePair
string
,
index
uint64
)
(
*
types
.
InterchainEvent
,
error
)
{
func
(
client
*
JSONClient
)
QueryOutMessage
(
inServicePair
string
,
index
uint64
)
(
*
types
.
InterchainEvent
,
error
)
{
...
...
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