bast bank ancestor check (#4050)

This commit is contained in:
anatoly yakovenko
2019-04-28 10:27:09 -07:00
committed by GitHub
parent 6f56501034
commit 3e14af5033
2 changed files with 9 additions and 5 deletions

View File

@ -124,7 +124,7 @@ pub struct Bank {
parent: RwLock<Option<Arc<Bank>>>,
/// The set of parents including this bank
ancestors: HashMap<u64, usize>,
pub ancestors: HashMap<u64, usize>,
/// Hash of this Bank's state. Only meaningful after freezing.
hash: RwLock<Hash>,