Skip to content
Permalink
Browse files

[skip ci] Make sure to correctly copy-paste not only bech32 addresses.

  • Loading branch information...
nopara73 committed Nov 27, 2018
1 parent 44366d0 commit 5e0d91e982f3753b192fa7903eba5ea9c0170413
Showing with 1 addition and 1 deletion.
  1. +1 −1 WalletWasabi.Gui/Behaviors/PasteAddressOnClickBehavior.cs
@@ -70,7 +70,7 @@ public async Task<(bool isAddress, string address)> IsThereABitcoinAddressOnTheC
try
{
var bitcoinAddress = BitcoinAddress.Create(text, Global.Network);
return (bitcoinAddress is BitcoinWitPubKeyAddress, text);
return (true, bitcoinAddress.ToString());
}
catch (FormatException)
{

0 comments on commit 5e0d91e

Please sign in to comment.
You can’t perform that action at this time.