Skip to content

Commit 5dcdbf0

Browse files
committed
fix comments
1 parent c203c6b commit 5dcdbf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/fuel-core/src/schema/da_compressed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ impl From<Vec<u8>> for DaCompressedBlock {
2525
#[Object]
2626
impl DaCompressedBlock {
2727
async fn bytes(&self) -> HexString {
28-
HexString(self.bytes.clone().into())
28+
HexString(self.bytes.as_slice().into())
2929
}
3030
}
3131

crates/fuel-core/src/schema/tx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ impl<'a> TxStatusSubscription {
743743
/// `SubmittedStatus` and potentially preconfirmation as an intermediate state.
744744
#[graphql(complexity = "query_costs().submit_and_await + child_complexity")]
745745
async fn submit_and_await_status(
746-
&'a self,
746+
&self,
747747
ctx: &'a Context<'a>,
748748
tx: HexString<'a>,
749749
estimate_predicates: Option<bool>,

0 commit comments

Comments
 (0)