mirror of
https://github.com/nonoo/kappanhang.git
synced 2026-04-04 14:07:31 +00:00
Fix typo
This commit is contained in:
parent
a9be72afba
commit
c4dd8b7171
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ func (s *txSeqBufStruct) get(seq seqNum) (d []byte) {
|
|||
// Searching from backwards, as we expect most queries for latest entries.
|
||||
for i := len(s.entries) - 1; i >= 0; i-- {
|
||||
if s.entries[i].seq == seq {
|
||||
d := make([]byte, len(s.entries[i].data))
|
||||
d = make([]byte, len(s.entries[i].data))
|
||||
copy(d, s.entries[i].data)
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue