We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71381dd commit 857fdbcCopy full SHA for 857fdbc
src/scenarios/ln_init.py
@@ -88,7 +88,7 @@ def funded_lnnodes():
88
assert chan_pt[:64] not in self.nodes[0].getrawmempool()
89
height = self.nodes[0].getblockcount()
90
self.log.info(f" confirmed in block {height}")
91
- self.log.info(f" channel_id should be: {int.from_bytes(height.to_bytes(3) + (1).to_bytes(3) + (0).to_bytes(2))}")
+ self.log.info(f" channel_id should be: {int.from_bytes(height.to_bytes(3, 'big') + (1).to_bytes(3, 'big') + (0).to_bytes(2, 'big'))}")
92
93
# Ensure all channel opens are sufficiently confirmed
94
self.generatetoaddress(self.nodes[0], 10, miner_addr)
0 commit comments