Skip to content

Commit 06150af

Browse files
committed
fix comments
1 parent 2ac8a61 commit 06150af

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
@@ -768,7 +768,7 @@ impl<'a> TxStatusSubscription {
768768
/// `SubmittedStatus` and potentially preconfirmation as an intermediate state.
769769
#[graphql(complexity = "query_costs().submit_and_await + child_complexity")]
770770
async fn submit_and_await_status(
771-
&'a self,
771+
&self,
772772
ctx: &'a Context<'a>,
773773
tx: HexString<'a>,
774774
estimate_predicates: Option<bool>,

0 commit comments

Comments
 (0)