mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-18 21:34:39 +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
|
actionsF
|
||||||
.flatMap(actions => Future.sequence(actions.map(safeDatabase.run)))
|
.flatMap(actions => safeDatabase.run(DBIOAction.sequence(actions)))
|
||||||
.map(_ => ())
|
.map(_ => ())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user