Commit 9389c46c authored by linj's avatar linj Committed by vipwzw

make fmt; make linter

parent 11fdc479
......@@ -72,11 +72,6 @@ func calcOnesSellOrderPrefixStatus(addr string, status int32) []byte {
return []byte(fmt.Sprintf(sellOrderASTS+"%s:%d", addr, status))
}
// 特定状态下的卖单
//func calcTokenSellOrderPrefixStatus(status int32) []byte {
// return []byte(fmt.Sprintf(sellOrderSHTAS+"%d", status))
//}
// ids
func calcTokenSellID(hash string) string {
return sellIDPrefix + hash
......@@ -142,10 +137,6 @@ func calcOnesOrderKey(addr string, status int32, ty int32, height int64, key str
return []byte(fmt.Sprintf(orderASTHK+"%s:%d:%010d:%d:%s", addr, status, height, ty, key))
}
func calcOnesOrderPrefixStatus(addr string, status int32) []byte {
return []byte(fmt.Sprintf(orderASTHK+"%s:%d:", addr, status))
}
// 特定状态下的买单
//func calcTokenBuyOrderPrefixStatus(status int32) []byte {
// return []byte(fmt.Sprintf(buyOrderSHTAS+"%d", status))
......
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