forked from cerc-io/laconicd-deprecated
eth_newBlockFilter and related functionality (#232)
* add filter types for block, pending tx, log * implement pollForBlocks for block filters * implement getFilterChanges for block filter * implement uninstall filter by stopping polling
This commit is contained in:
@@ -97,10 +97,6 @@ func (k *Keeper) GetBlockBloomMapping(ctx sdk.Context, height int64) (ethtypes.B
|
||||
}
|
||||
|
||||
bloom := store.Get(types.BloomKey(bz))
|
||||
if len(bloom) == 0 {
|
||||
return ethtypes.BytesToBloom([]byte{}), fmt.Errorf("block with bloombits %v not found", bloom)
|
||||
}
|
||||
|
||||
return ethtypes.BytesToBloom(bloom), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user