Skip to content

Commit

Permalink
csv changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mvp83 committed May 16, 2024
1 parent 0c1b21a commit ba6ca0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/clip-finance/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const readBlocksFromCSV = async (filePath: string): Promise<BlockData[]> => {

await new Promise<void>((resolve, reject) => {
fs.createReadStream(filePath)
.pipe(csv({ separator: '\t' })) // Specify the separator as '\t' for TSV files
.pipe(csv()) // Specify the separator as '\t' for TSV files
.on('data', (row) => {

const blockNumber = parseInt(row.number, 10);
Expand Down

0 comments on commit ba6ca0f

Please sign in to comment.