Switch to the WriteBatch atomic update feature.
Switch to the WriteBatch atomic update feature.

This is more likely to be a solid approach than the temporary DB.

LLC-152

LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core