Remove "to_block" field from BlockRequests (#12447)

* Remove "to_block" field from BlockRequests

* Maybe fix the tests
This commit is contained in:
Pierre Krieger
2022-10-08 23:15:25 +02:00
committed by GitHub
parent f55a6c9689
commit 4a6c7aaf5b
4 changed files with 1 additions and 13 deletions
@@ -193,7 +193,6 @@ where
fields: BlockAttributes::HEADER |
BlockAttributes::BODY | BlockAttributes::JUSTIFICATION,
from: FromBlock::Hash(header.hash()),
to: Some(header.hash()),
direction: Direction::Ascending,
max: Some(1),
};