mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-02-22 14:58:22 +00:00
Add newline in nodejs trusted setup transformation (#78)
This commit is contained in:
parent
1cfc226f7b
commit
4c115844e2
@ -78,6 +78,7 @@ export async function transformTrustedSetupJSON(
|
||||
const file = fs.createWriteStream(textFilePath);
|
||||
file.write(`${FIELD_ELEMENTS_PER_BLOB}\n65\n`);
|
||||
file.write(data.setup_G1.map((p) => p.replace("0x", "")).join("\n"));
|
||||
file.write("\n");
|
||||
file.write(data.setup_G2.map((p) => p.replace("0x", "")).join("\n"));
|
||||
file.end();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user