-
Notifications
You must be signed in to change notification settings - Fork 496
Open
Description
Inside the for the concat func expects uint8Array but proof[i].data
is type string
Error visible for me since I'm using TS to try and understand what is happening a little bit better
Fixed code:
for (let i = 0; i < proof.length; i++) {
if (proof[i].left) {
data = concat(utf8ToBytes(proof[i].data), data);
} else {
data = concat(data, utf8ToBytes(proof[i].data));
}
}
Metadata
Metadata
Assignees
Labels
No labels