librustzcash icon indicating copy to clipboard operation
librustzcash copied to clipboard

zcash_client_backend: Change `propose_shielding` to return `Option<Proposal>`

Open str4d opened this issue 11 months ago • 0 comments

If there are no transparent funds to be shielded, currently an error will be returned (either because the balance to be shielded is below the shielding threshold, or because an empty proposal cannot be constructed). We should instead return None in this case, as an expected non-failure case: if there is nothing to shield, don't make a proposal to create shielding transactions.

str4d avatar Feb 27 '24 22:02 str4d