Skip to content

Commit f38e350

Browse files
authored
Merge pull request #504 from rustaceanrob/9-22-progress
Emit `Progress` after header update
2 parents 5f3766b + 7bdc682 commit f38e350

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bip157"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
authors = ["Rob <rustaceanrob@protonmail.com>"]
55
edition = "2021"
66
license = "MIT OR Apache-2.0"

src/network/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub(crate) mod reader;
3131
pub(crate) mod socks;
3232

3333
pub const PROTOCOL_VERSION: u32 = 70016;
34-
pub const KYOTO_VERSION: &str = "0.3.0";
34+
pub const KYOTO_VERSION: &str = "0.3.1";
3535
pub const RUST_BITCOIN_VERSION: &str = "0.32.7";
3636

3737
const THIRTY_MINS: Duration = Duration::from_secs(60 * 30);

src/node.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ impl Node {
432432
let chain = &mut self.chain;
433433
match chain.sync_chain(headers) {
434434
Ok(reorgs) => {
435+
self.chain.send_chain_update().await;
435436
if !reorgs.is_empty() {
436437
self.block_queue.remove(&reorgs);
437438
}

0 commit comments

Comments
 (0)