mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-07 08:23:08 +00:00
chore: simplify process
This commit is contained in:
parent
1e20d25beb
commit
4b14b0711e
@ -10,7 +10,7 @@ import
|
||||
nimcrypto/keccak as keccak,
|
||||
stint,
|
||||
json,
|
||||
std/[strutils, tables],
|
||||
std/[strutils, tables, algorithm],
|
||||
stew/[byteutils, arrayops],
|
||||
sequtils
|
||||
import
|
||||
@ -375,8 +375,8 @@ method generateProof*(
|
||||
g.merkleProofCache.reverse()
|
||||
var i = 0
|
||||
while i + 31 < g.merkleProofCache.len:
|
||||
for j in countdown(32 .. 1):
|
||||
path_elements.add(g.merkleProofCache[i + j])
|
||||
for j in countdown(32, 1):
|
||||
path_elements.add(g.merkleProofCache[i+j])
|
||||
i += 32
|
||||
|
||||
debug "--- pathElements ---",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user