Make sure banking stage is recording with the same bank that it read (#3447)
* make sure banking stage is recording with the same bank that it read with
This commit is contained in:
committed by
GitHub
parent
60dfb35924
commit
52f6c33ff9
@@ -138,7 +138,11 @@ mod tests {
|
||||
// send some data
|
||||
let h1 = hash(b"hello world!");
|
||||
let tx = test_tx();
|
||||
poh_recorder.lock().unwrap().record(h1, vec![tx]).unwrap();
|
||||
poh_recorder
|
||||
.lock()
|
||||
.unwrap()
|
||||
.record(bank.slot(), h1, vec![tx])
|
||||
.unwrap();
|
||||
|
||||
if exit.load(Ordering::Relaxed) {
|
||||
break Ok(());
|
||||
|
||||
Reference in New Issue
Block a user