mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-26 01:29:20 +01:00
wallet: Batch database actions in processBlockCachedUtxos() (#5788)
This commit is contained in:
parent
ba8dd75312
commit
d5a77a2297
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue