Skip to content

Commit 6dab798

Browse files
BertBert
authored andcommitted
GH-598: fixed a flaw from last merge
1 parent dd3bd6b commit 6dab798

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

node/src/blockchain/blockchain_bridge.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2205,7 +2205,7 @@ mod tests {
22052205

22062206
#[test]
22072207
fn extract_max_block_range_for_nodies_error_response_v2() {
2208-
let result = BlockchainError::QueryFailed("RPC error: Error { code: ServerError(-32001), message: \"Block range too large: maximum allowed is 20000 blocks\", data: None }".to_string());
2208+
let result = BlockchainInterfaceError::QueryFailed("RPC error: Error { code: ServerError(-32001), message: \"Block range too large: maximum allowed is 20000 blocks\", data: None }".to_string());
22092209

22102210
let max_block_count = BlockchainBridge::extract_max_block_count(result);
22112211

0 commit comments

Comments
 (0)