diff --git a/src/app/components/send/ui/primary.rs b/src/app/components/send/ui/primary.rs index ef6ad55..aaee62d 100644 --- a/src/app/components/send/ui/primary.rs +++ b/src/app/components/send/ui/primary.rs @@ -128,7 +128,7 @@ pub fn show_send(s: &mut Cursive, with_message: bool) { let mut message = String::from(""); let mut amount = String::from(""); s.call_on_name("address", |view: &mut TextArea| { - address = String::from(view.get_content()); + address = String::from(view.get_content().trim()); }) .unwrap(); if with_message {