diff options
Diffstat (limited to 'core/rawdb/table.go')
-rw-r--r-- | core/rawdb/table.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/rawdb/table.go b/core/rawdb/table.go index 974df681b..e19649dd4 100644 --- a/core/rawdb/table.go +++ b/core/rawdb/table.go @@ -148,3 +148,8 @@ func (b *tableBatch) Write() error { func (b *tableBatch) Reset() { b.batch.Reset() } + +// Replay replays the batch contents. +func (b *tableBatch) Replay(w ethdb.Writer) error { + return b.batch.Replay(w) +} |