Skip to content
Permalink
Browse files

Reduce error correction level

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 0f9bcadf70660c46ec23df9ce326dbd3cdaa8468
Showing with 1 addition and 1 deletion.
  1. +1 −1 WalletWasabi.Gui/ViewModels/AddressViewModel.cs
@@ -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;

0 comments on commit 0f9bcad

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