Add chainconfig to backend

This commit is contained in:
Austin Roberts
2021-09-14 17:44:25 -05:00
parent 411a43e378
commit 7b33b6e821
3 changed files with 38 additions and 4 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ func PluginPreProcessBlock(pl *plugins.PluginLoader, block *types.Block) {
_, ok := item.(func([]byte))
return ok
})
encoded, _ = rlp.EncodeToBytes(block)
encoded, _ := rlp.EncodeToBytes(block)
for _, fni := range fnList {
if fn, ok := fni.(func([]byte)); ok {
fn(encoded)