diff --git a/src/safe_cli/operators/safe_tx_service_operator.py b/src/safe_cli/operators/safe_tx_service_operator.py index 71f0b518..d9d24371 100644 --- a/src/safe_cli/operators/safe_tx_service_operator.py +++ b/src/safe_cli/operators/safe_tx_service_operator.py @@ -80,7 +80,7 @@ def sign_message( if self.safe_tx_service.post_message(self.address, message, signatures): print_formatted_text( HTML( - f"Message with safe-message-hash {safe_message_hash} was correctly created on Safe Transaction Service" + f"Message with safe-message-hash {safe_message_hash.hex()} was correctly created on Safe Transaction Service" ) ) return True @@ -132,7 +132,7 @@ def confirm_message(self, safe_message_hash: bytes, sender: ChecksumAddress): return False print_formatted_text( HTML( - f"Message with safe-message-hash {safe_message_hash} was correctly confirmed on Safe Transaction Service" + f"Message with safe-message-hash {safe_message_hash.hex()} was correctly confirmed on Safe Transaction Service" ) ) return True