diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index 5af1586eb2..398052cb32 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -3609,7 +3609,7 @@ impl AccountsDb { // cleaned yet. That means this must be rpc access and not replay/banking at the // very least. Note that purge shouldn't occur even for RPC as caller must hold all // of ancestor slots.. - assert!(load_hint == LoadHint::Unspecified); + assert_eq!(load_hint, LoadHint::Unspecified); // Everything being assert!()-ed, let's panic!() here as it's an error condition // after all....