Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oblique committed Oct 25, 2024
1 parent faba5bf commit dff130b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/src/share.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub trait ShareClient: ClientT {
{
async move {
let app_version = root.header.version.app;
let app_version = AppVersion::from_u64(root.header.version.app).ok_or_else(|| {
let app_version = AppVersion::from_u64(app_version).ok_or_else(|| {
let e = format!("Invalid or unsupported AppVersion: {app_version}");
Error::Custom(e)
})?;
Expand Down

0 comments on commit dff130b

Please sign in to comment.