Skip to content

Commit

Permalink
Fix passing padded base64 instead of unpadded
Browse files Browse the repository at this point in the history
  • Loading branch information
BillCarsonFr committed Sep 8, 2023
1 parent cfca47d commit efa2888
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class MXQRCodeTransactionV2: NSObject, MXQRCodeTransaction {
log.debug("->")

let data = MXQRCodeDataCoder().encode(otherQRCodeData)
let string = MXBase64Tools.base64(from: data)
let string = MXBase64Tools.unpaddedBase64(from: data)
guard let result = request.scanQrCode(data: string) else {
log.failure("Failed scanning QR code")
return
Expand Down

0 comments on commit efa2888

Please sign in to comment.