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

Removes the timestamp part of the abigen comment #352

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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