fix prefixstore
This commit is contained in:
parent
3a0f7c58fe
commit
f3c330ec4d
|
@ -16,7 +16,7 @@ type prefixStore struct {
|
|||
func cloneAppend(bz []byte, bz2 []byte) (res []byte) {
|
||||
res = make([]byte, len(bz)+len(bz2))
|
||||
copy(res, bz)
|
||||
res = append(res, bz2...)
|
||||
copy(res[len(bz):], bz2)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue