fix test_onion_message (follow-up previous commit)
This commit is contained in:
@@ -283,6 +283,9 @@ class MockPeer:
|
|||||||
async def wait_one_htlc_switch_iteration(self, *args):
|
async def wait_one_htlc_switch_iteration(self, *args):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def is_initialized(self):
|
||||||
|
return True
|
||||||
|
|
||||||
def send_message(self, *args, **kwargs):
|
def send_message(self, *args, **kwargs):
|
||||||
if self.on_send_message:
|
if self.on_send_message:
|
||||||
self.on_send_message(*args, **kwargs)
|
self.on_send_message(*args, **kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user