Skip to content

Commit

Permalink
Add missing source file
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed May 3, 2018
1 parent faad875 commit 90ccaf6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions libraries/chain/generic_custom_operation_interpreter.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <steem/chain/generic_custom_operation_interpreter.hpp>

namespace steem { namespace chain {

std::string legacy_custom_name_from_type( const std::string& type_name )
{
auto start = type_name.find_last_of( ':' ) + 1;
auto end = type_name.find_last_of( '_' );
return type_name.substr( start, end-start );
}

} } // steem::chain

0 comments on commit 90ccaf6

Please sign in to comment.