feat: use rust_util use_clap
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use std::fs;
|
||||
use clap::{App, Arg, ArgMatches, SubCommand};
|
||||
use crate::cmd::{Command, CommandError};
|
||||
use rust_util::util_clap::{Command, CommandError};
|
||||
use crate::util::JsonKeyPair;
|
||||
use crate::tx::{Transaction, TransactionBody};
|
||||
use crate::engine::ContractEngine;
|
||||
@@ -49,6 +49,6 @@ impl Command for CommandImpl {
|
||||
let engine = ContractEngine::new();
|
||||
engine.execute(&tx)?;
|
||||
|
||||
Ok(())
|
||||
Ok(None)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user