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:
stubbsta 2026-07-07 09:51:08 +02:00
parent 1767234e9f
commit 26b8d2fa6e
No known key found for this signature in database

View File

@ -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)