add safe to getbyblocknumber

This commit is contained in:
terminal
2022-09-19 17:29:29 +03:00
parent 58cc10f3bb
commit 63d96904b3

View File

@@ -152,10 +152,7 @@ class LocalCallRouter(
blockRef == "earliest" -> {
number = 0
}
blockRef == "finalized" -> {
return null
}
blockRef == "pending" -> {
blockRef == "finalized" || blockRef == "safe" || blockRef == "pending" -> {
return null
}
else -> {