add safe to getbyblocknumber
This commit is contained in:
@@ -152,10 +152,7 @@ class LocalCallRouter(
|
|||||||
blockRef == "earliest" -> {
|
blockRef == "earliest" -> {
|
||||||
number = 0
|
number = 0
|
||||||
}
|
}
|
||||||
blockRef == "finalized" -> {
|
blockRef == "finalized" || blockRef == "safe" || blockRef == "pending" -> {
|
||||||
return null
|
|
||||||
}
|
|
||||||
blockRef == "pending" -> {
|
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
else -> {
|
else -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user