problem: doesn't update head subscription through remote dshackle, because upstream becomes ready later after chain setup
solution: fix and refactor to avoid such situation in code
This commit is contained in:
@@ -9,8 +9,8 @@ import java.time.Duration
|
||||
class ChainUpstreams (
|
||||
val chain: Chain,
|
||||
private val upstreams: MutableList<Upstream>,
|
||||
targets: EthereumTargets
|
||||
) : AggregatedUpstreams(targets) {
|
||||
targets: CallMethods
|
||||
) : AggregatedUpstream(targets) {
|
||||
|
||||
private val log = LoggerFactory.getLogger(ChainUpstreams::class.java)
|
||||
private var seq = 0
|
||||
|
||||
Reference in New Issue
Block a user