pool icon indicating copy to clipboard operation
pool copied to clipboard

rpcserver: crash in case client fails to parse batch

Open halseth opened this issue 4 years ago • 0 comments

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

halseth avatar Mar 19 '21 08:03 halseth