problem: may request balance from a lagging node

This commit is contained in:
Igor Artamonov
2020-05-24 20:16:14 -04:00
parent 47eb126a75
commit cca8593a48

View File

@@ -88,8 +88,9 @@ class DefaultEthereumMethods(
specialMethods.contains(method) -> {
when (method) {
"eth_getTransactionCount" -> NonceQuorum()
"eth_getBalance" -> NotLaggingQuorum(1)
"eth_getBalance" -> NotLaggingQuorum(0)
"eth_sendRawTransaction" -> BroadcastQuorum()
"eth_blockNumber" -> NotLaggingQuorum(0)
else -> AlwaysQuorum()
}
}