Upsert remote txs in DLC Wallet (#3150)

This commit is contained in:
benthecarman 2021-05-26 12:49:34 -07:00 committed by GitHub
parent 13409d29c3
commit 880c8898da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -777,7 +777,7 @@ abstract class DLCWallet
_ = logger.debug(
s"CET Signatures for tempContractId ${accept.tempContractId.hex} were valid, adding to database")
_ <- remoteTxDAO.createAll(acceptPrevTxs)
_ <- remoteTxDAO.upsertAll(acceptPrevTxs)
_ <- dlcInputsDAO.createAll(acceptInputs)
_ <- dlcSigsDAO.createAll(sigsDbs)
_ <- dlcRefundSigDAO.upsert(refundSigsDb)