Skip to content

Commit

Permalink
arb_apibackend: use correct stylus tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tsahee committed May 21, 2024
1 parent bdbfac5 commit b8d4ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbitrum/apibackend.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func createRegisterAPIBackend(backend *Backend, filterConfig filters.Config, fal
dbForAPICalls := backend.chainDb
wasmStore, tag := backend.chainDb.WasmDataBase()
if tag != 0 {
dbForAPICalls = rawdb.WrapDatabaseWithWasm(backend.chainDb, wasmStore, tag)
dbForAPICalls = rawdb.WrapDatabaseWithWasm(backend.chainDb, wasmStore, 0)
}
backend.apiBackend = &APIBackend{
b: backend,
Expand Down

0 comments on commit b8d4ced

Please sign in to comment.