params::BALANCE_BIT_WIDTH in hash_nft_content_to_balance_type function
@@ -3891,8 +3891,8 @@ pub fn hash_nft_content_to_balance_type<E: RescueEngine, CS: ConstraintSystem<E>
.into_bits_le_strict(cs.namespace(|| "content into_bits_le_strict"))?;
CircuitElement::from_le_bits(
- cs.namespace(|| "NFT_content_as_balance from lower 128 bits"),
- content_as_bits_le[..128].to_vec(),
+ cs.namespace(|| "NFT_content_as_balance from lower BALANCE_BIT_WIDTH bits"),
+ content_as_bits_le[..params::BALANCE_BIT_WIDTH].to_vec(),
)
}
