File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
.changelog/unreleased/sdk Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1+ - Improve the function to update an enstablished address via the sdk.
2+ ([ \# 3039] ( https://github.com/anoma/namada/pull/3039 ) )
Original file line number Diff line number Diff line change @@ -282,12 +282,17 @@ pub trait Namada: Sized + MaybeSync + MaybeSend {
282282 }
283283
284284 /// Make a TxUpdateAccount builder from the given minimum set of arguments
285- fn new_update_account ( & self , addr : Address ) -> args:: TxUpdateAccount {
285+ fn new_update_account (
286+ & self ,
287+ addr : Address ,
288+ public_keys : Vec < common:: PublicKey > ,
289+ threshold : u8 ,
290+ ) -> args:: TxUpdateAccount {
286291 args:: TxUpdateAccount {
287292 addr,
288293 vp_code_path : None ,
289- public_keys : vec ! [ ] ,
290- threshold : None ,
294+ public_keys,
295+ threshold : Some ( threshold ) ,
291296 tx_code_path : PathBuf :: from ( TX_UPDATE_ACCOUNT_WASM ) ,
292297 tx : self . tx_builder ( ) ,
293298 }
You can’t perform that action at this time.
0 commit comments