Revert [b3e57e1ee45e] for go-substrates
Remove unneeded code that was causing a warning