We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a0759 commit ff32606Copy full SHA for ff32606
crates/sdk/src/lib.rs
@@ -282,12 +282,17 @@ pub trait Namada: Sized + MaybeSync + MaybeSend {
282
}
283
284
/// Make a TxUpdateAccount builder from the given minimum set of arguments
285
- fn new_update_account(&self, addr: Address) -> args::TxUpdateAccount {
+ fn new_update_account(
286
+ &self,
287
+ addr: Address,
288
+ public_keys: Vec<common::PublicKey>,
289
+ threshold: u8,
290
+ ) -> args::TxUpdateAccount {
291
args::TxUpdateAccount {
292
addr,
293
vp_code_path: None,
- public_keys: vec![],
- threshold: None,
294
+ public_keys,
295
+ threshold: Some(threshold),
296
tx_code_path: PathBuf::from(TX_UPDATE_ACCOUNT_WASM),
297
tx: self.tx_builder(),
298
0 commit comments