Skip to content
Browse files

also repsert inps and outs when inserting a checkpoint

  • Loading branch information...
KtorZ committed Jun 12, 2019
1 parent 2cfce63 commit ba673d408f9ed8a8a65b54d8aab6e1c2af429c0a
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/core/src/Cardano/Wallet/DB/Sqlite.hs
@@ -519,8 +519,7 @@ insertCheckpoint
insertCheckpoint wid cp = do
let (cp', utxo, ins, outs) = mkCheckpointEntity wid cp
insert_ cp'
dbChunked insertMany_ ins
dbChunked insertMany_ outs
putTxs ins outs
dbChunked insertMany_ utxo
insertState (wid, (W.currentTip cp) ^. #slotId) (W.getState cp)

0 comments on commit ba673d4

Please sign in to comment.
You can’t perform that action at this time.