pool
pool copied to clipboard
rpcserver: crash in case client fails to parse batch
If the server sends a batch that the client is unable to parse (https://github.com/lightninglabs/pool/blob/073fe0d369e1e544e0752a1f804a5851fefb71bf/rpcserver.go#L362), we will crash when attempting to use the nil batch struct in the reject message: https://github.com/lightninglabs/pool/blob/073fe0d369e1e544e0752a1f804a5851fefb71bf/rpcserver.go#L1447