feat: v0.1.1, support width and pem feature

This commit is contained in:
2024-09-09 23:55:40 +08:00
parent d8a88d0529
commit 9d10c5fe07
7 changed files with 64 additions and 14 deletions

View File

@@ -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.");
}