MCPcopy Create free account
hub / github.com/ElementsProject/elements / test_cltv_info

Method test_cltv_info

test/functional/feature_cltv.py:95–101  ·  view source on GitHub ↗
(self, *, is_active)

Source from the content-addressed store, hash-verified

93 self.rpc_timeout = 480
94
95 def test_cltv_info(self, *, is_active):
96 assert_equal(self.nodes[0].getdeploymentinfo()['deployments']['bip65'], {
97 "active": is_active,
98 "height": CLTV_HEIGHT,
99 "type": "buried",
100 },
101 )
102
103 def run_test(self):
104 peer = self.nodes[0].add_p2p_connection(P2PInterface())

Callers 1

run_testMethod · 0.95

Calls 1

assert_equalFunction · 0.90

Tested by

no test coverage detected