mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: add SealedBlock in reth-primitives-traits (#13735)
This commit is contained in:
@ -50,7 +50,7 @@ async fn main() -> eyre::Result<()> {
|
||||
|
||||
let head = notifications.next().await.unwrap();
|
||||
|
||||
let tx = &head.tip().transactions()[0];
|
||||
let tx = &head.tip().body().transactions().next().unwrap();
|
||||
assert_eq!(tx.hash(), hash);
|
||||
println!("mined transaction: {hash}");
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user