Skip to content

Commit 7f0a082

Browse files
committed
remove asserts for bad condition
1 parent dbc2e52 commit 7f0a082

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/warnet/cln.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ def get_graph_channels(self) -> list[LNChannel]:
108108

109109
@staticmethod
110110
def lnchannel_from_json(node1: object, node2: object) -> LNChannel:
111-
assert node1["short_channel_id"] == node2["short_channel_id"]
112-
assert node1["direction"] != node2["direction"]
113111
if not node1:
114112
raise ValueError("node1 can't be None")
115113

0 commit comments

Comments
 (0)