• Sebastian Stammler's avatar
    op-node: Fix maxDataSize calculation in ChannelOut.OutputFrame · 37dbb0f6
    Sebastian Stammler authored
    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.
    37dbb0f6
channel_out.go 5.27 KB