Skip to content

Commit

Permalink
Reduce error correction level
Browse files Browse the repository at this point in the history
Because it seems that a higher level of redundancy makes it harder
for some devices/apps to decode it. Anyway, gioven this QR is displayed
in the screen and not printed, we don't need such a high redundancy.
  • Loading branch information
lontivero committed Nov 26, 2018
1 parent 08a5f21 commit 0f9bcad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WalletWasabi.Gui/ViewModels/AddressViewModel.cs
Expand Up @@ -30,7 +30,7 @@ public AddressViewModel(HdPubKey model)
QrCode = await Task.Run(() =>
{
var encoder = new QrEncoder(ErrorCorrectionLevel.H);
var encoder = new QrEncoder(ErrorCorrectionLevel.M);
encoder.TryEncode(Address, out var qrCode);
return qrCode.Matrix.InternalArray;
Expand Down

0 comments on commit 0f9bcad

Please sign in to comment.