Commit 78aeb884 authored by Tobias Wich's avatar Tobias Wich
Browse files

Display transaction info only if it is not empty

parent 00c3aabe
......@@ -232,6 +232,10 @@ public class PACEStep implements ProtocolStep<DIDAuthenticate, DIDAuthenticateRe
eacData.certificateDescription = certDescription;
eacData.rawCertificateDescription = rawCertificateDescription;
eacData.transactionInfo = eac1Input.getTransactionInfo();
// remove transaction info again if it is empty
if (eacData.transactionInfo != null && eacData.transactionInfo.trim().isEmpty()) {
eacData.transactionInfo = null;
}
eacData.requiredCHAT = requiredCHAT;
eacData.optionalCHAT = optionalCHAT;
eacData.selectedCHAT = new CHAT(requiredCHAT.toByteArray());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment