diff --git a/sdk/src/wallet/operations/transaction/high_level/staking/begin.rs b/sdk/src/wallet/operations/transaction/high_level/staking/begin.rs index 96ad085c89..e3d04154e0 100644 --- a/sdk/src/wallet/operations/transaction/high_level/staking/begin.rs +++ b/sdk/src/wallet/operations/transaction/high_level/staking/begin.rs @@ -1,8 +1,6 @@ // Copyright 2024 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -use alloc::collections::BTreeSet; - use serde::{Deserialize, Serialize}; use crate::{ @@ -74,12 +72,6 @@ where } else { options.replace(TransactionOptions { transitions: Some(Transitions::new().add_account(params.account_id, change)), - required_inputs: BTreeSet::from([self - .get_account_output(params.account_id) - .await - .ok_or(WalletError::AccountNotFound)? - .1 - .output_id]), ..Default::default() }); }