fix: around issue #187 for testnet (#204)

* Update mod.rs

* workaround for #187

* publish

* build

* revert

* revert ci
This commit is contained in:
Ordinarius
2023-11-16 08:30:23 -08:00
committed by GitHub
parent 0714abf1b1
commit 0d2ff313d0
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -22,6 +22,7 @@ components/chainhook-types-js/dist
cache/
./tests
tmp/
data
# Created by https://www.toptal.com/developers/gitignore/api/node
# Edit at https://www.toptal.com/developers/gitignore?templates=node

View File

@@ -234,7 +234,7 @@ pub fn compute_satoshi_number(
// isolate the target transaction
let lazy_tx = match lazy_block.find_and_serialize_transaction_with_txid(&txid) {
Some(entry) => entry,
None => unreachable!(),
None => break,
};
let mut sats_out = 0;