Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!
Open sidebar
19315872692
vm-native
Commits
25a5ab0f
Commit
25a5ab0f
authored
Mar 19, 2025
by
chēng liang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: support old cross tx query --story=0
parent
eeeced6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
relay_cross/relay_cross.go
relay_cross/relay_cross.go
+3
-0
No files found.
relay_cross/relay_cross.go
View file @
25a5ab0f
...
@@ -1270,6 +1270,9 @@ func parseGatewayKey(gatewayId int64) []byte {
...
@@ -1270,6 +1270,9 @@ func parseGatewayKey(gatewayId int64) []byte {
}
}
func
parseCrossChainKey
(
crossChainId
string
)
[]
byte
{
func
parseCrossChainKey
(
crossChainId
string
)
[]
byte
{
if
_
,
err
:=
strconv
.
Atoi
(
crossChainId
);
err
==
nil
{
return
[]
byte
(
fmt
.
Sprintf
(
"c%019d"
,
crossChainId
))
}
var
key
[]
byte
var
key
[]
byte
key
=
append
(
key
,
crossChainIdKey
...
)
key
=
append
(
key
,
crossChainIdKey
...
)
key
=
append
(
key
,
[]
byte
(
crossChainId
)
...
)
key
=
append
(
key
,
[]
byte
(
crossChainId
)
...
)
...
...
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