mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-30 20:11:23 +00:00
Guarantee inheritance of variable type for public constraint system contexts.
This commit is contained in:
@@ -152,7 +152,7 @@ pub trait PublicConstraintSystem<E: Engine>: ConstraintSystem<E>
|
||||
{
|
||||
/// Represents the type of the "root" of this constraint system
|
||||
/// so that nested namespaces can minimize indirection.
|
||||
type PublicRoot: PublicConstraintSystem<E>;
|
||||
type PublicRoot: PublicConstraintSystem<E, Variable=Self::Variable>;
|
||||
|
||||
/// Allocate a public variable in the constraint system. The provided function is used to
|
||||
/// determine the assignment of the variable.
|
||||
|
Reference in New Issue
Block a user