Commit 4d9a73bf authored by vipwzw's avatar vipwzw

auto ci

parent 9ce51098
......@@ -6,13 +6,14 @@ package para
import (
"fmt"
"github.com/33cn/chain33/types"
)
func calcTitleHeightKey(title string, height int64) []byte {
return []byte(fmt.Sprintf("%s-TH-%s-%d", types.ConsensusParaTxsPrefix,title, height))
return []byte(fmt.Sprintf("%s-TH-%s-%d", types.ConsensusParaTxsPrefix, title, height))
}
func calcTitleLastHeightKey(title string) []byte {
return []byte(fmt.Sprintf("%s-TLH-%s", types.ConsensusParaTxsPrefix,title))
return []byte(fmt.Sprintf("%s-TLH-%s", types.ConsensusParaTxsPrefix, title))
}
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