We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f141a6b commit c810cd8Copy full SHA for c810cd8
sdk/src/claim.rs
@@ -2001,6 +2001,13 @@ impl Claim {
2001
)?;
2002
}
2003
2004
+ // Skip further checks for v1 claims if not in strict validation mode
2005
+ if claim.version() == 1 {
2006
+ if let Ok(false) = get_settings_value::<bool>("verify.strict_v1_validation") {
2007
+ return Ok(()); // no further checks for v1 claims
2008
+ }
2009
2010
+
2011
// 1. make sure every action has an actions array that is not empty
2012
if let Some(bad_assertion) = all_actions.iter().find(|a| {
2013
if let Ok(actions) = Actions::from_assertion(a.assertion()) {
0 commit comments