Skip to content

Commit

Permalink
Fix #1164 (#1171)
Browse files Browse the repository at this point in the history
* Fix #1164

* use rstrip

Co-authored-by: Stepan Snigirev <[email protected]>
  • Loading branch information
ben-kaufman and stepansnigirev authored May 21, 2021
1 parent 230c38f commit 6c1ddda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptoadvance/specter/server_endpoints/wallets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ def set_label(wallet_alias):

wallet = app.specter.wallet_manager.get_by_alias(wallet_alias)
address = request.form["address"]
label = request.form["label"]
label = request.form["label"].rstrip()
wallet.setlabel(address, label)
return {"success": True}

Expand Down

0 comments on commit 6c1ddda

Please sign in to comment.