Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Changed ToJson() to ToString()
  • Loading branch information
jhodges10 committed Jul 4, 2018
commit 1724e20bceac66f0c50698ab5d49c77c3dd8e9b3
4 changes: 2 additions & 2 deletions src/governance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ void CGovernanceManager::ProcessMessage(CNode* pfrom, const std::string& strComm
vote.Relay(connman);

// SEND NOTIFICATION TO ZMQ
GetMainSignals().NotifyGovernanceVote(vote.ToJson());
GetMainSignals().NotifyGovernanceVote(vote.ToString());
}
else {
LogPrint("gobject", "MNGOVERNANCEOBJECTVOTE -- Rejected vote, error = %s\n", exception.what());
Expand Down Expand Up @@ -366,7 +366,7 @@ void CGovernanceManager::AddGovernanceObject(CGovernanceObject& govobj, CConnman
CheckOrphanVotes(govobj, exception, connman);

// SEND NOTIFICATION TO ZMQ
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tobe reverted in cleanup PR

GetMainSignals().NotifyGovernanceObject(govobj.ToJson());
GetMainSignals().NotifyGovernanceObject(govobj.ToString());


DBG( std::cout << "CGovernanceManager::AddGovernanceObject END" << std::endl; );
Expand Down