feat: Implement common traverse iterators (#119)

This commit is contained in:
Santiago Carmuega 2022-06-14 13:47:11 -03:00 committed by GitHub
parent 2a43dd1061
commit e67da5e7ef
12 changed files with 378 additions and 316 deletions

View file

@ -16,7 +16,7 @@ fn main() {
println!("{} {}", block.slot(), block.hash());
for tx in block.tx_iter() {
for tx in &block.txs() {
println!("{:?}", tx);
}
}