mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
Update to latest Substrate & Polkadot (#131)
* Switch to latest Substrate & Polkadot * Update again
This commit is contained in:
+2
-2
@@ -105,7 +105,7 @@ where
|
||||
|
||||
Validation::Failure
|
||||
} else {
|
||||
Validation::Success
|
||||
Validation::Success { is_new_best: false }
|
||||
});
|
||||
}
|
||||
|
||||
@@ -202,7 +202,7 @@ where
|
||||
)) as Box<_>);
|
||||
}
|
||||
|
||||
Ok(Validation::Success)
|
||||
Ok(Validation::Success { is_new_best: false })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ fn valid_if_no_data_and_less_than_best_known_number() {
|
||||
|
||||
assert_eq!(
|
||||
res.unwrap(),
|
||||
Validation::Success,
|
||||
Validation::Success { is_new_best: false },
|
||||
"validating without data with block number < best known number is always a success",
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user