From 3d3931221252a605805f61ab824e692255d5a3c8 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Tue, 2 Jan 2018 10:38:49 +0100 Subject: [PATCH] Fix typos --- gossipd/routing.c | 2 +- lightningd/chaintopology.c | 2 +- tests/test_lightningd.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gossipd/routing.c b/gossipd/routing.c index ed520b092..09d18fc83 100644 --- a/gossipd/routing.c +++ b/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)); } diff --git a/lightningd/chaintopology.c b/lightningd/chaintopology.c index d866fe9c6..cce5bca76 100644 --- a/lightningd/chaintopology.c +++ b/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 diff --git a/tests/test_lightningd.py b/tests/test_lightningd.py index 7f1af002b..6b1c1c194 100644 --- a/tests/test_lightningd.py +++ b/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'