diff --git a/src/main/kotlin/io/emeraldpay/dshackle/rpc/SubscribeChainStatus.kt b/src/main/kotlin/io/emeraldpay/dshackle/rpc/SubscribeChainStatus.kt index 3a629a69d..e8c468f2b 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/rpc/SubscribeChainStatus.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/rpc/SubscribeChainStatus.kt @@ -122,6 +122,7 @@ class SubscribeChainStatus( .setVersion(Global.version) .build(), ) + .setFullResponse(true) .build() } } diff --git a/src/test/kotlin/io/emeraldpay/dshackle/rpc/SubscribeChainStatusTest.kt b/src/test/kotlin/io/emeraldpay/dshackle/rpc/SubscribeChainStatusTest.kt index 552444202..37c894920 100644 --- a/src/test/kotlin/io/emeraldpay/dshackle/rpc/SubscribeChainStatusTest.kt +++ b/src/test/kotlin/io/emeraldpay/dshackle/rpc/SubscribeChainStatusTest.kt @@ -225,6 +225,11 @@ class SubscribeChainStatusTest { ) .build(), ) + .apply { + if (headEvent) { + setFullResponse(true) + } + } .build() }