Make transactions receipts part of transaction inclusion proof (#236)

* make receipts part of tx proof

* is_successful_raw_receipt_with_empty_data

* cargo fmt --all

* clippy

* fix everything
This commit is contained in:
Svyatoslav Nikolsky
2020-07-28 13:57:25 +03:00
committed by Bastian Köcher
parent 70135cb797
commit 156ec9862f
10 changed files with 305 additions and 77 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ impl PeerBlockchain for KovanBlockchain {
return None;
}
proof.proof.get(proof.index as usize).cloned()
proof.proof.get(proof.index as usize).map(|(tx, _)| tx.clone())
}
}