Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #352 from eoscanada/feature/remove-abigen-comment-…
Browse files Browse the repository at this point in the history
…timestamp

Removes the timestamp part of the abigen comment
  • Loading branch information
larryk85 authored Feb 1, 2019
2 parents 34d9d11 + f31b17d commit 0ac8fac
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tools/abigen/eosio-abigen.cpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,8 @@ class abigen : public generation_utils {
std::string generate_json_comment() {
std::stringstream ss;
ss << "This file was generated with eosio-abigen.";
ss << " DO NOT EDIT ";
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
ss << std::ctime(&t);
auto output = ss.str();
return output.substr(0, output.length()-1); // remove the newline character
ss << " DO NOT EDIT";
return ss.str();
}

ojson struct_to_json( const abi_struct& s ) {
Expand Down

0 comments on commit 0ac8fac

Please sign in to comment.