CORDA-3443: Do not log warning when appending duplicated network parameters (#5739)

This commit is contained in:
Denis Rekalov 2019-11-19 15:02:07 +00:00 committed by Rick Parker
parent 890aaad898
commit a791e38319

View File

@ -90,7 +90,7 @@ class DBNetworkParametersStorage(
val hash = signedNetworkParameters.raw.hash
log.trace { "Parameters to save $networkParameters with hash $hash" }
database.transaction {
hashToParameters.addWithDuplicatesAllowed(hash, signedNetworkParameters)
hashToParameters.addWithDuplicatesAllowed(hash, signedNetworkParameters, false)
}
}