mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 21:34:33 +00:00
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…
x
Reference in New Issue
Block a user