1
0

lnhtlc: remove lookup_htlc, use heterogeneously typed lists

This commit is contained in:
Janus
2018-10-10 19:52:46 +02:00
committed by ThomasV
parent 699368b0b7
commit 1d4c113a35
3 changed files with 28 additions and 66 deletions

View File

@@ -147,7 +147,7 @@ class TestLNBaseHTLCStateMachine(unittest.TestCase):
self.aliceHtlcIndex = self.alice_channel.add_htlc(self.htlc)
self.bobHtlcIndex = self.bob_channel.receive_htlc(self.htlc)
self.htlc = self.bob_channel.log[lnutil.REMOTE][0]
self.htlc = self.bob_channel.log[lnutil.REMOTE]['adds'][0]
def test_SimpleAddSettleWorkflow(self):
alice_channel, bob_channel = self.alice_channel, self.bob_channel