We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de8cd39 commit 1c0772aCopy full SHA for 1c0772a
src/main/java/ehn/techiop/hcert/GreenCertificateDecoder.java
@@ -46,7 +46,7 @@ public String decode(String base45String) throws CompressorException, IOExceptio
46
if (!base45String.startsWith(prefix))
47
throw new RuntimeException("Base45 string not valid according to specification");
48
49
- base45String = base45String.substring(3);
+ base45String = base45String.substring(4);
50
byte[] decodedBytes = Base45.getDecoder().decode(base45String);
51
52
byte[] coseBytes = decompress(decodedBytes);
0 commit comments