Skip to content

Commit

Permalink
fix: broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludo Galabru committed Jul 8, 2022
1 parent 6931ee6 commit aa99c87
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion node-bindings/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl StacksDevnet {

thread::spawn(move || {
if let Ok(ref devnet_rx) = meta_rx.recv() {
while let Ok(ref event) = devnet_rx.recv() {
while let Ok(event) = devnet_rx.recv() {
match event {
DevnetEvent::BitcoinChainEvent(
BitcoinChainEvent::ChainUpdatedWithBlocks(update),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ impl BitcoinBlockPool {
// Select canonical fork
let mut canonical_fork_id = 0;
let mut highest_height = 0;
let mut highest_btc_spent = 0;
for (fork_id, fork) in self.forks.iter() {
info!("Active fork: {} - {}", fork_id, fork);
if fork.get_length() >= highest_height {
Expand Down
2 changes: 1 addition & 1 deletion vendor/orchestra-types-js/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface StacksChainUpdate {
*/
new_blocks: Array<StacksBlockUpdate>;
/**
* @type {Array<StacksBlockUpdate>}
* @type {Array<Block>}
* @memberof StacksChainUpdate
*/
confirmed_blocks: Array<Block>;
Expand Down

0 comments on commit aa99c87

Please sign in to comment.