新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

Commit 25a5ab0f authored by chēng liang's avatar chēng liang

feat: support old cross tx query --story=0

parent eeeced6e
...@@ -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)...)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment