mirror of
https://github.com/kvazar-network/keva-stratum.git
synced 2025-01-26 23:04:42 +00:00
Fix redis test
This commit is contained in:
parent
8fe7ce8a9d
commit
60d9227304
@ -60,7 +60,7 @@ func TestWriteBlockAtSameHeight(t *testing.T) {
|
||||
}
|
||||
|
||||
func stripTimestampFromZ(z redis.Z) redis.Z {
|
||||
k := strings.Split(z.Member, ":")
|
||||
k := strings.Split(z.Member.(string), ":")
|
||||
res := []string{k[0], "*", k[2], k[3]}
|
||||
return redis.Z{Score: z.Score, Member: strings.Join(res, ":")}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user