Skip to content

Commit 8634ec1

Browse files
remove unused _output_account_info
1 parent 11091d8 commit 8634ec1

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

sdk-libs/sdk/src/account.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -206,17 +206,6 @@ impl<
206206
discriminator: A::LIGHT_DISCRIMINATOR,
207207
}
208208
};
209-
let _output_account_info = {
210-
let output_merkle_tree_index = input_account_meta
211-
.get_output_state_tree_index()
212-
.ok_or(LightSdkError::OutputStateTreeIndexIsNone)?;
213-
OutAccountInfo {
214-
lamports: input_account_meta.get_lamports().unwrap_or_default(),
215-
output_merkle_tree_index,
216-
discriminator: A::LIGHT_DISCRIMINATOR,
217-
..Default::default()
218-
}
219-
};
220209

221210
Ok(Self {
222211
owner,

0 commit comments

Comments
 (0)