Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ERROR_INVALID_PUBLIC_AMOUNT

Error message for invalid public amount in proof.This error is thrown when the public amount in the zero-knowledge proof doesn't match the calculated public amount from external data. # When Thrown - Public amount mismatch between proof and calculation - Proof was generated with incorrect amounts - Fee calculation error # Resolution - Ensure amounts are calculated correctly - Regenerate proof with correct amounts

Fully qualified path: obscura::errors::ERROR_INVALID_PUBLIC_AMOUNT

pub const ERROR_INVALID_PUBLIC_AMOUNT: felt252 = 'Invalid public amount';