Improve documentation for `zcash_primitives::transaction::builder::Error::OrchardAnchorNotAvailable`

Co-authored-by: str4d <thestr4d@gmail.com>
This commit is contained in:
Kris Nuttycombe 2023-06-23 14:56:49 -06:00 committed by GitHub
parent 4fbdd64c89
commit 95abfe5836
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,8 @@ pub enum Error<FeeError> {
OrchardSpend(orchard::builder::SpendError),
/// An error occurred in adding an Orchard Output a transaction.
OrchardRecipient(orchard::builder::OutputError),
/// Orchard is not yet active on the network, and the user attempted to add
/// Orchard parts to a transaction.
/// The builder was constructed either without an Orchard anchor or before NU5
/// activation, but an Orchard spend or recipient was added.
OrchardAnchorNotAvailable,
/// An error occurred in constructing the TZE parts of a transaction.
#[cfg(feature = "zfuture")]