public static Decoder getDecoder(final Capability capability) {
    if (capability.getVersion() >= EthProtocolVersion.V68) {
      return TransactionAnnouncementDecoder::decodeForEth68;
    } else {
      return TransactionAnnouncementDecoder::decodeForEth66;
    }
  }
Returns the correct decoder given an Eth Capability

<p>See <a href="https://eips.ethereum.org/EIPS/eip-5793">EIP-5793</a>

@param capability the version of the eth protocol
@return the correct decoder
ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/encoding/TransactionAnnouncementDecoder.java