bool has_offer( const checksum256& commitment ) const
{
auto idx = offers.template get_index<N(commitment)>();
auto itr = idx.find( offer::get_commitment(commitment) );
return itr != idx.end();
}
offers.template get_index<???>();
这句