op-node: Fix maxDataSize calculation in ChannelOut.OutputFrame
Bedrock frames have a fixed overhead of 23 bytes. Also removed the extra byte that was reserved for the version because the calling sites of OutputFrame() already subtract this byte from their maxSize arguments. This makes sense because the calling sites are responsible for handling the correct overall tx data size.
Showing
Please register or sign in to comment