From 041ed689aa3f48fc6dd12274370580028c73161d Mon Sep 17 00:00:00 2001 From: andri lim Date: Thu, 27 Dec 2018 10:08:20 +0700 Subject: [PATCH] fix silly typo mistake --- nimbus/db/capturedb.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimbus/db/capturedb.nim b/nimbus/db/capturedb.nim index e13d0dc3d..6801717c0 100644 --- a/nimbus/db/capturedb.nim +++ b/nimbus/db/capturedb.nim @@ -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]) =