Skip to content

Commit

Permalink
fix: Fix broken find parent tx hash for receipt logic (#263)
Browse files Browse the repository at this point in the history
* fix: Fix broken find parent tx hash for receipt logic

* bump the version and add changelog record
  • Loading branch information
khorolets authored Mar 17, 2022
1 parent e91dde3 commit 14391b4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.10.14

* Fix the bug in logic of finding parent transaction for a receipt

## 0.10.13

* Upgrade `nearcore` to `1.25.0-rc.3`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "indexer-explorer"
version = "0.10.13"
version = "0.10.14"
authors = ["Near Inc <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion src/db_adapters/receipts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ async fn find_tx_hashes_for_receipts(
.map(
|(receipt_id_string, transaction_hash_string): (String, String)| {
(
crate::ReceiptOrDataId::ReceiptId(
crate::ReceiptOrDataId::DataId(
near_primitives::hash::CryptoHash::from_str(
&receipt_id_string,
)
Expand Down

0 comments on commit 14391b4

Please sign in to comment.