only trim when not null
MODIFY
WalletWasabi.Fluent/Behaviors/PasteButtonFlashBehavior.cs
WalletWasabi.Fluent/Behaviors/PasteButtonFlashBehavior.cs
@@ -90,7 +90,10 @@ public class PasteButtonFlashBehavior : AttachedToVisualTreeBehavior<AnimatedBut
AssociatedObject.Classes.Remove(FlashAnimation);
+ if (!string.IsNullOrEmpty(clipboardValue))
+ {
clipboardValue = clipboardValue.Trim();
+ }
if (clipboardValue != CurrentAddress &&
AddressStringParser.TryParse(clipboardValue, Services.WalletManager.Network, out _))

only trim when not null