mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-03 14:33:12 +00:00
Update toRateCommitment proc to use LE instead of BE
This commit is contained in:
parent
66007fe3ba
commit
3aa35cec71
@ -27,7 +27,7 @@ type
|
||||
RawRateCommitment* = seq[byte]
|
||||
|
||||
proc toRateCommitment*(rateCommitmentUint: UInt256): RawRateCommitment =
|
||||
return RawRateCommitment(@(rateCommitmentUint.toBytesBE()))
|
||||
return RawRateCommitment(@(rateCommitmentUint.toBytesLE()))
|
||||
|
||||
# Custom data types defined for waku rln relay -------------------------
|
||||
type RateLimitProof* = object
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user