mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-14 14:47:08 +00:00
1 parent
09d9c2c9f6
commit
ea1f21a904
56 files changed
+178
-178
No files matched your search
@@ -84,7 +84,7 @@ trait ChainBackend<Client, Block: BlockT>: Send + Sync + 'static
|
||||
// FIXME <2329>: Database seems to limit the block number to u32 for no reason
|
||||
let block_num: u32 = num_or_hex.try_into().map_err(|_| {
|
||||
Error::from(format!(
|
||||
"`{:?}` > u32::max_value(), the max block number is u32.",
|
||||
"`{:?}` > u32::MAX, the max block number is u32.",
|
||||
num_or_hex
|
||||
))
|
||||
})?;
|
||||
|
||||
Reference in new issue
Block a user