Skip to content

Commit

Permalink
[fix] fix the clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
vegetabledogdog committed May 20, 2024
1 parent b252b6d commit 8a27d45
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/rooch-rpc-server/src/service/rpc_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

use anyhow::Result;
use move_core_types::account_address::AccountAddress;
use move_core_types::identifier::Identifier;
use move_core_types::language_storage::{ModuleId, StructTag};
use moveos_types::access_path::AccessPath;
use moveos_types::function_return_value::AnnotatedFunctionResult;
Expand Down Expand Up @@ -106,7 +105,7 @@ impl RpcService {
let mut resp = self
.get_states(AccessPath::module(
*module_id.address(),
Identifier::from(module_id.name()),
module_id.name().into(),
))
.await?;
Ok(resp.pop().flatten().is_some())
Expand Down

0 comments on commit 8a27d45

Please sign in to comment.