mirror of
https://github.com/logos-messaging/go-zerokit-rln.git
synced 2026-01-04 14:13:09 +00:00
Use MerkleNode instead [32]byte
Co-authored-by: richΛrd <info@richardramos.me>
This commit is contained in:
parent
13fead4a16
commit
c07683058f
@ -427,7 +427,7 @@ func (r *RLN) InsertMember(idComm IDCommitment, userMessageLimit uint32) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *RLN) InsertRawLeaf(rawLeaf [32]byte) error {
|
||||
func (r *RLN) InsertRawLeaf(rawLeaf MerkleNode) error {
|
||||
insertionSuccess := r.w.SetNextLeaf(rawLeaf[:])
|
||||
if !insertionSuccess {
|
||||
return errors.New("could not insert raw leaf")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user