fix silly typo mistake
This commit is contained in:
parent
96b18cfce3
commit
041ed689aa
|
@ -17,7 +17,7 @@ proc get*(db: CaptureDB, key: openArray[byte]): seq[byte] =
|
|||
result = db.dstDb.get(key)
|
||||
if result.len != 0: return
|
||||
result = db.srcDb.get(key)
|
||||
if result.len == 0:
|
||||
if result.len != 0:
|
||||
db.dstDb.put(key, result)
|
||||
|
||||
proc put*(db: CaptureDB, key, value: openArray[byte]) =
|
||||
|
|
Loading…
Reference in New Issue