mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-18 13:24:25 +01:00
wallet: Batch database actions in processBlockCachedUtxos() (#5788)
This commit is contained in:
parent
ba8dd75312
commit
d5a77a2297
@ -226,7 +226,7 @@ case class TransactionProcessing(
|
||||
}
|
||||
|
||||
actionsF
|
||||
.flatMap(actions => Future.sequence(actions.map(safeDatabase.run)))
|
||||
.flatMap(actions => safeDatabase.run(DBIOAction.sequence(actions)))
|
||||
.map(_ => ())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user