Rename LastIdNotFound to BlockHashNotFound
This commit is contained in:
committed by
Greg Fitzgerald
parent
176d5e0d37
commit
0743f54dfe
@ -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.
|
||||
|
Reference in New Issue
Block a user