mirror of
https://github.com/corda/corda.git
synced 2025-06-05 17:01:45 +00:00
Remove database transaction from notaryPartyFromX500Name (#1786)
Remove database transaction from notaryPartyFromX500Name as it doesn't touch the database
This commit is contained in:
parent
5b79def791
commit
f5784f718d
@ -176,11 +176,7 @@ class CordaRPCOpsImpl(
|
|||||||
|
|
||||||
override fun currentNodeTime(): Instant = Instant.now(services.clock)
|
override fun currentNodeTime(): Instant = Instant.now(services.clock)
|
||||||
|
|
||||||
override fun waitUntilNetworkReady(): CordaFuture<Void?> {
|
override fun waitUntilNetworkReady(): CordaFuture<Void?> = services.networkMapCache.nodeReady
|
||||||
return database.transaction {
|
|
||||||
services.networkMapCache.nodeReady
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun wellKnownPartyFromAnonymous(party: AbstractParty): Party? {
|
override fun wellKnownPartyFromAnonymous(party: AbstractParty): Party? {
|
||||||
return database.transaction {
|
return database.transaction {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user