Please sign in to comment.
db/webapi: Run all transactions at an isolation level of Serializable
Modify both the 'db' and the 'webapi' versions of 'runQuery' to use the 'Serializable' isolation level which is the most strict. Before this change queries returning a 'CAddressSummary' struct would sometimes return negative balances although this was actually a consequence of previous database corruption. See: https://www.postgresql.org/docs/current/transaction-iso.html
- Loading branch information
Showing with 8 additions and 8 deletions.