Move panic after index name validation into the separate function
Move panic after index name validation into the separate function

alekseysidorov/exonum,alekseysidorov/exonum,exonum/exonum,exonum/exonum,exonum/exonum,exonum/exonum,alekseysidorov/exonum,alekseysidorov/exonum