Skip to content

Commit 788ba28

Browse files
authored
fix(cast): read all lines for message to hash (#10671)
1 parent ab753e9 commit 788ba28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cast/src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ pub async fn run_command(args: CastArgs) -> Result<()> {
626626
};
627627
}
628628
CastSubcommand::HashMessage { message } => {
629-
let message = stdin::unwrap_line(message)?;
629+
let message = stdin::unwrap(message, false)?;
630630
sh_println!("{}", eip191_hash_message(message))?
631631
}
632632
CastSubcommand::SigEvent { event_string } => {

0 commit comments

Comments
 (0)