Use last_id instead of seed

It doesn't really matter, but was confusing since the seed points
to an entry before the mint's deposit.
This commit is contained in:
Greg Fitzgerald
2018-04-02 15:02:23 -06:00
parent daadae7987
commit 49708e92d3
3 changed files with 15 additions and 11 deletions

View File

@ -106,10 +106,10 @@ mod tests {
let acc = Accountant::new(&alice);
let bob_pubkey = KeyPair::new().pubkey();
let exit = Arc::new(AtomicBool::new(false));
let historian = Historian::new(&alice.seed(), Some(30));
let historian = Historian::new(&alice.last_id(), Some(30));
let acc = Arc::new(Mutex::new(AccountantSkel::new(
acc,
alice.seed(),
alice.last_id(),
sink(),
historian,
)));