Skip to content

Commit 987460a

Browse files
committed
Change chase::confirmable from height to link.
1 parent e83074b commit 987460a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/chasers/chaser_confirm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ bool chaser_confirm::complete_block(const code& ec, const header_link& link,
348348
}
349349

350350
// CONFIRMABLE BLOCK
351-
notify(error::success, chase::confirmable, height);
351+
notify(error::success, chase::confirmable, link);
352352
fire(events::block_confirmed, height);
353353
LOGV("Block confirmable: " << height << (bypass ? " (bypass)" : ""));
354354
return true;

src/chasers/chaser_snapshot.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ bool chaser_snapshot::handle_event(const code&, chase event_,
110110
//// if (!enabled_confirm_ || ec)
111111
//// break;
112112
////
113-
//// BC_ASSERT(std::holds_alternative<height_t>(value));
114-
//// POST(do_confirm, std::get<height_t>(value));
113+
//// BC_ASSERT(std::holds_alternative<header_t>(value));
114+
//// POST(do_confirm, std::get<header_t>(value));
115115
//// break;
116116
////}
117117
case chase::block:
@@ -207,7 +207,7 @@ void chaser_snapshot::do_snap(size_t height) NOEXCEPT
207207
//// take_snapshot(height);
208208
////}
209209
////
210-
////void chaser_snapshot::do_confirm(size_t height) NOEXCEPT
210+
////void chaser_snapshot::do_confirm(header_t link) NOEXCEPT
211211
////{
212212
//// BC_ASSERT(stranded());
213213
//// if (closed() || !update_confirm(height))

0 commit comments

Comments
 (0)