mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
remove kv_remove prefix and prefetch
This commit is contained in:
parent
2e2e3835aa
commit
8a74b65ba2
@ -273,14 +273,6 @@ func (tx *remoteTx) Rollback() {
|
||||
tx.closeGrpcStream()
|
||||
}
|
||||
|
||||
func (c *remoteCursor) Prefix(v []byte) Cursor {
|
||||
return c
|
||||
}
|
||||
|
||||
func (c *remoteCursor) Prefetch(v uint) Cursor {
|
||||
return c
|
||||
}
|
||||
|
||||
func (tx *remoteTx) GetOne(bucket string, key []byte) (val []byte, err error) {
|
||||
c, _ := tx.Cursor(bucket)
|
||||
defer c.Close()
|
||||
|
Loading…
Reference in New Issue
Block a user