Rename LastIdNotFound to BlockHashNotFound

This commit is contained in:
Michael Vines
2019-03-02 09:40:47 -08:00
committed by Greg Fitzgerald
parent 176d5e0d37
commit 0743f54dfe
2 changed files with 9 additions and 9 deletions

View File

@ -443,7 +443,7 @@ mod tests {
// First, ensure the TX is rejected because of the unregistered last ID
assert_eq!(
bank.process_transaction(&tx),
Err(BankError::LastIdNotFound)
Err(BankError::BlockHashNotFound)
);
// Now ensure the TX is accepted despite pointing to the ID of an empty entry.