restore spacing

explicit_write_pps_on_exit
algorandpa 2023-01-28 18:27:35 -05:00 committed by jaredgoldman
parent 41bb0445e0
commit 6126c4f438
1 changed files with 3 additions and 0 deletions

View File

@ -541,12 +541,15 @@ class PpTable(Struct):
self,
trans: dict[str, Transaction],
cost_scalar: float = 2,
) -> dict[str, Position]:
pps = self.pps
updated: dict[str, Position] = {}
# lifo update all pps from records
for tid, t in trans.items():
pp = pps.setdefault(
t.bsuid,