Skip to content

Commit 1fdd5ac

Browse files
committed
Move warning non certified signer
Moved to 'StmInitializerWrapper::setup()' to warn earlier in the process.
1 parent 4a8b967 commit 1fdd5ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mithril-common/src/crypto_helper/cardano/key_certification.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ impl StmInitializerWrapper {
131131
&stm_initializer.verification_key().to_bytes(),
132132
))
133133
} else {
134+
println!("WARNING: Non certified signer registration by providing only a Pool Id is decommissionned and must be used for tests only!");
134135
None
135136
};
136137

@@ -252,7 +253,6 @@ impl KeyRegWrapper {
252253
if cfg!(not(feature = "allow_skip_signer_certification")) {
253254
Err(ProtocolRegistrationErrorWrapper::OpCertMissing)?
254255
}
255-
println!("WARNING: Uncertified signer registration by providing a Pool Id is decommissionned and must be used for tests only! (Pool Id: {:?})", party_id);
256256
party_id.ok_or(ProtocolRegistrationErrorWrapper::PartyIdMissing)?
257257
};
258258

0 commit comments

Comments
 (0)