Skip to content

Commit 50ca13f

Browse files
committed
DEBUG: push panic in
1 parent bb3150b commit 50ca13f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/qos_core/src/protocol/services/provision.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ pub(in crate::protocol) fn provision(
110110
let public_key_bytes = pair.public_key().to_bytes();
111111

112112
if public_key_bytes != manifest_envelope.manifest.namespace.quorum_key {
113+
panic!("Size: {}\n{:?}\n\nSize: {}\n{:?}",
114+
public_key_bytes.len(), public_key_bytes,
115+
manifest_envelope.manifest.namespace.quorum_key.len(),
116+
manifest_envelope.manifest.namespace.quorum_key);
113117
// We did not construct the intended key
114118
return Err(ProtocolError::ReconstructionErrorIncorrectPubKey);
115119
}

0 commit comments

Comments
 (0)