1
0

Refresh LN status in GUI using network callback.

This commit is contained in:
ThomasV
2018-07-13 12:28:00 +02:00
parent 9145d61797
commit 1db7a8334a
6 changed files with 14 additions and 7 deletions

View File

@@ -26,6 +26,7 @@ class Test_LNRouter(unittest.TestCase):
def test_find_path_for_payment(self):
class fake_network:
channel_db = lnrouter.ChannelDB()
trigger_callback = lambda x: None
class fake_ln_worker:
path_finder = lnrouter.LNPathFinder(fake_network.channel_db)
privkey = bitcoin.sha256('privkeyseed')