mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-12-03 12:24:27 +01:00
Contracts: remove the commented-out contract_setup
The separate contract_setup step is superseded by contract_sign, which runs setup internally. Remove the dead commented-out function (libwallet, controller, api), its CLI subcommand (grin-wallet.yml), and its dispatch arm (wallet_args). The contract_sign path and the parse_contract_setup_args parser are unaffected. Addresses PR #754 review (command.rs, owner.rs).
This commit is contained in:
@@ -785,19 +785,6 @@ where
|
||||
owner::contract_new(&mut **w, keychain_mask, &args)
|
||||
}
|
||||
|
||||
// /// TODO
|
||||
// pub fn contract_setup(
|
||||
// &self,
|
||||
// keychain_mask: Option<&SecretKey>,
|
||||
// slate: &Slate,
|
||||
// args: &ContractSetupArgsAPI,
|
||||
// ) -> Result<Slate, Error> {
|
||||
// let mut w_lock = self.wallet_inst.lock();
|
||||
// let w = w_lock.lc_provider()?.wallet_inst()?;
|
||||
// // TODO: self.doctest_mode ?
|
||||
// owner::contract_setup(&mut **w, keychain_mask, &args, &slate)
|
||||
// }
|
||||
|
||||
/// TODO
|
||||
pub fn contract_sign(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user