mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 15:21:39 +02:00
Contract setup/sign and output selection used panic! on protocol-reachable invariant violations: receiver fee exceeding net_change, net_change / num_participants mismatch between the setup and sign phases, a negative change output, conflicting selection args, and a failed kernel-excess computation. A crafted or inconsistent counterparty slate could abort the wallet. Return Error::GenericError (or propagate the underlying error) instead; build_output_amount_list now returns Result.