Commit b5e1f9d7 authored by vipwzw's avatar vipwzw

update chain33

parent 88db31ff
......@@ -315,8 +315,13 @@ func IsPara() bool {
}
// IsParaExecName 是否平行链执行器
func IsParaExecName(name string) bool {
return strings.HasPrefix(name, ParaKeyX)
func IsParaExecName(exec string) bool {
return strings.HasPrefix(exec, ParaKeyX)
}
//IsMyParaExecName 是否是我的para链的执行器
func IsMyParaExecName(exec string) bool {
return IsParaExecName(exec) && strings.HasPrefix(exec, GetTitle())
}
func setTestNet(isTestNet bool) {
......
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