Skip to content

Commit 3de083d

Browse files
authored
Trim sending address (#15)
* trim address
1 parent 13d7d97 commit 3de083d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/send/ui/primary.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ pub fn show_send(s: &mut Cursive, with_message: bool) {
128128
let mut message = String::from("");
129129
let mut amount = String::from("");
130130
s.call_on_name("address", |view: &mut TextArea| {
131-
address = String::from(view.get_content());
131+
address = String::from(view.get_content().trim());
132132
})
133133
.unwrap();
134134
if with_message {

0 commit comments

Comments
 (0)