mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Feat/improve fee history performance (#5182)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -252,7 +252,7 @@ impl SharedCapability {
|
||||
/// Returns an error if the offset is equal or less than [`MAX_RESERVED_MESSAGE_ID`].
|
||||
pub(crate) fn new(name: &str, version: u8, offset: u8) -> Result<Self, SharedCapabilityError> {
|
||||
if offset <= MAX_RESERVED_MESSAGE_ID {
|
||||
return Err(SharedCapabilityError::ReservedMessageIdOffset(offset));
|
||||
return Err(SharedCapabilityError::ReservedMessageIdOffset(offset))
|
||||
}
|
||||
|
||||
match name {
|
||||
|
||||
Reference in New Issue
Block a user