mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-21 17:18:33 +02:00
contract view derived its result without checking the slate. Reject an Unknown slate state and an out-of-range num_participants (mirroring context::create), so a malformed or tampered slate can't feed a bogus view to a caller/UI. Also fix num_sigs, which counted participants still missing a signature rather than the signatures present. Addresses PR #754 review (view.rs).