diff --git a/protocol/parser/parser.go b/protocol/parser/parser.go index 61129e81b6..b0dc97a8da 100644 --- a/protocol/parser/parser.go +++ b/protocol/parser/parser.go @@ -109,10 +109,10 @@ func parseInputWithGenericParsers(rpcInput RPCInput, genericParsers []spectypes. } parsed := NewParsedInput() - parsedBlock := genericParserResult.GetRawParsedData() - if parsedBlock != "" { + rawParsedData := genericParserResult.GetRawParsedData() + if rawParsedData != "" { parsedSuccessfully = true - parsed.parsedDataRaw = parsedBlock + parsed.parsedDataRaw = rawParsedData } parsedBlockHashes, err := genericParserResult.GetBlockHashes()