Skip to content

Commit

Permalink
Fix doInAtomic return type
Browse files Browse the repository at this point in the history
  • Loading branch information
ashalaginov committed Nov 25, 2023
1 parent 873e524 commit 641fdd5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class AtomicBroadcaster(
) {
private val txService: TxService = atomicAwareNodeBlockingServiceFactory.txService()

fun <T> doInAtomic(block: () -> T): T? {
fun <T> doInAtomic(block: () -> T): T {
atomicAwareContextManager.beginAtomic()
try {
val blockResult = block()
Expand Down

0 comments on commit 641fdd5

Please sign in to comment.