feat: v0.1.1, support width and pem feature
This commit is contained in:
@@ -19,7 +19,7 @@ pub struct CmdBase58 {
|
||||
}
|
||||
|
||||
impl CmdExec for CmdBase58 {
|
||||
fn exec(&self) -> XResult<()> {
|
||||
fn exec(&mut self) -> XResult<()> {
|
||||
if self.encode && self.decode {
|
||||
return simple_error!("Encode and decode cannot both assigned.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user