check non-existent block hash

This commit is contained in:
ychiao
2023-01-02 17:21:47 +08:00
parent f8e215c817
commit 7029364f4d
5 changed files with 18 additions and 12 deletions
+2 -2
View File
@@ -387,10 +387,10 @@ func init() {
addExample(&uuid.UUID{})
filterid, _ := ethtypes.EthHashFromHex("0x5CbEeC012345673f25E309Cc264f240bb0664031")
filterid, _ := ethtypes.NewEthHashFromHex("0x5CbEeC012345673f25E309Cc264f240bb0664031")
addExample(ethtypes.EthFilterID(filterid))
subid, _ := ethtypes.EthHashFromHex("0x5CbEeCF99d3fDB301234567c264f240bb0664031")
subid, _ := ethtypes.NewEthHashFromHex("0x5CbEeCF99d3fDB301234567c264f240bb0664031")
addExample(ethtypes.EthSubscriptionID(subid))
pstring := func(s string) *string { return &s }