From 342338459a6ab5e25ded4ddea653c0dbbfab688d Mon Sep 17 00:00:00 2001
From: Feliciss <10203-feliciss@users.noreply.0xacab.org>
Date: Fri, 6 Sep 2024 22:04:22 +0900
Subject: [PATCH] [gh-2381] fix output.
---
crates/rooch/src/commands/account/commands/sign.rs | 7 +++----
crates/rooch/src/commands/account/commands/verify.rs | 9 +++++----
crates/testsuite/features/cmd.feature | 2 +-
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/crates/rooch/src/commands/account/commands/sign.rs b/crates/rooch/src/commands/account/commands/sign.rs
index 7e772fdc5..4a1d712a4 100644
--- a/crates/rooch/src/commands/account/commands/sign.rs
+++ b/crates/rooch/src/commands/account/commands/sign.rs
@@ -9,7 +9,6 @@ use moveos_types::state::MoveState;
use rooch_key::keystore::account_keystore::AccountKeystore;
use rooch_types::{
address::ParsedAddress,
- crypto::Signature,
error::RoochResult,
framework::auth_payload::{SignData, MESSAGE_INFO, MESSAGE_INFO_PREFIX},
};
@@ -37,7 +36,7 @@ pub struct SignCommand {
#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
pub struct SignAccountOutput {
- pub signature: Signature,
+ pub signature_hash: String,
pub message_hash: String,
}
@@ -62,14 +61,14 @@ impl CommandAction