mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-14 04:05:17 +00:00
fix: byte slice disappearance issue for key too
This commit is contained in:
parent
836d449177
commit
9d4ffab29b
@ -275,7 +275,9 @@ func extractFrameNumberAndFilterFromMasterFrameKey(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
return binary.BigEndian.Uint64(key[2:10]), key[10:], nil
|
copied := make([]byte, len(key))
|
||||||
|
copy(copied, key)
|
||||||
|
return binary.BigEndian.Uint64(copied[2:10]), copied[10:], nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func clockDataFrameKey(
|
func clockDataFrameKey(
|
||||||
|
Loading…
Reference in New Issue
Block a user