@Override
  public boolean equals(final Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    final BftMessage<?> that = (BftMessage<?>) o;
    return Objects.equals(payload, that.payload);
  }
Read payload.

@param <T> the type parameter of Payload
@param rlpInput the rlp input
@param decoder the decoder
@return the signed data
consensus/common/src/main/java/org/hyperledger/besu/consensus/common/bft/messagewrappers/BftMessage.java