Minor error message improvement.

Co-authored-by: str4d <jack@electriccoin.co>
This commit is contained in:
Kris Nuttycombe 2021-06-05 10:36:52 -06:00 committed by Kris Nuttycombe
parent 0253442af0
commit 371f84dc9b
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ pub fn v5_signature_hash<A: Authorization>(
txid_parts.tze_digests.as_ref(),
)
} else {
panic!("It is not possible to sign a transparent input with missing bundle data.")
panic!("Transaction has no transparent inputs to sign.")
}
}
#[cfg(feature = "zfuture")]
@ -175,7 +175,7 @@ pub fn v5_signature_hash<A: Authorization>(
Some(&tze_input_sigdigests(bundle, input, txid_digests)),
)
} else {
panic!("It is not possible to sign a tze input with missing bundle data.")
panic!("Transaction has no TZE inputs to sign.")
}
}
}