follow-up prev commit (fix test)

This commit is contained in:
ThomasV 2018-07-13 13:36:36 +02:00 committed by Janus
parent 38f0f25f8e
commit 5a29dee9b3

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')