diff --git a/crates/sui-graphql-client/src/lib.rs b/crates/sui-graphql-client/src/lib.rs index 358b388d2..6199a1e9d 100644 --- a/crates/sui-graphql-client/src/lib.rs +++ b/crates/sui-graphql-client/src/lib.rs @@ -2141,7 +2141,7 @@ mod tests { let chckp = client.checkpoint(None, Some(chckp_id)).await; assert!(chckp.is_ok()); let digest = chckp.unwrap().unwrap().content_digest; - let chckp_digest = CheckpointDigest::from_bytes(&digest.inner()).unwrap(); + let chckp_digest = CheckpointDigest::from_bytes(digest.inner()).unwrap(); let total_transaction_blocks = client .total_transaction_blocks_by_digest(chckp_digest) .await