Browse Source

Fix typos

ppa-0.6.1
practicalswift 7 years ago
committed by Christian Decker
parent
commit
3d39312212
  1. 2
      gossipd/routing.c
  2. 2
      lightningd/chaintopology.c
  3. 2
      tests/test_lightningd.py

2
gossipd/routing.c

@ -587,7 +587,7 @@ bool handle_channel_announcement(
WIRE_CHANNEL_ANNOUNCEMENT,
(u8*)tag, serialized))
status_failed(STATUS_FAIL_INTERNAL_ERROR,
"Announcemnet %s was replaced?",
"Announcement %s was replaced?",
tal_hex(trc, serialized));
}

2
lightningd/chaintopology.c

@ -418,7 +418,7 @@ static void have_new_block(struct bitcoind *bitcoind,
struct bitcoin_block *blk,
struct chain_topology *topo)
{
/* Unexpected precessor? Free predecessor, refetch it. */
/* Unexpected predecessor? Free predecessor, refetch it. */
if (!structeq(&topo->tip->blkid, &blk->hdr.prev_hash))
remove_tip(topo);
else

2
tests/test_lightningd.py

@ -2473,7 +2473,7 @@ class LightningDTests(BaseLightningDTests):
assert r['label'] == 'inv2'
# Pay inv1
l1.rpc.pay(inv1['bolt11'])
# Wait inv2 - should not blok, should return inv1
# Wait inv2 - should not block, should return inv1
r = self.executor.submit(l2.rpc.waitanyinvoice, 'inv2').result(timeout=5)
assert r['label'] == 'inv1'

Loading…
Cancel
Save