mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-07-23 21:13:14 +00:00
Fix merge conflict residue: replace RlnResult with Result in proof.nim
RlnResult[T] was removed as a type alias in commit 0a1700e23 (replace RLN specific Result with generic Result). The merge left one stale reference at proof.nim:62; replace with the equivalent Result[seq[byte], string]. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1767234e9f
commit
26b8d2fa6e
@ -59,7 +59,7 @@ proc generateRLNProof*(
|
||||
input: seq[byte],
|
||||
senderEpochTime: float64,
|
||||
forceMerkleProofRefresh: bool = false,
|
||||
): Future[RlnResult[seq[byte]]] {.async.} =
|
||||
): Future[Result[seq[byte], string]] {.async.} =
|
||||
let epoch = rln.calcEpoch(senderEpochTime)
|
||||
let nonce = rln.nonceManager.getNonce().valueOr:
|
||||
return err("could not get new message id to generate an rln proof: " & $error)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user