Skip to content

Commit 243d4cd

Browse files
committed
import_network: reduce ch open txs to 250 per block
1 parent af0fc0c commit 243d4cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/warnet/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def _import_network(graph_file_path, output_path):
356356
}
357357
tanks[source]["lnd"]["channels"].append(channel)
358358
index += 1
359-
if index > 1000:
359+
if index > 250:
360360
index = 1
361361
block += 1
362362
count += 1

0 commit comments

Comments
 (0)