diff --git a/src/qt/governancelist.cpp b/src/qt/governancelist.cpp index 2439486b18601..781d3c2ca0d3f 100644 --- a/src/qt/governancelist.cpp +++ b/src/qt/governancelist.cpp @@ -63,7 +63,7 @@ QDateTime Proposal::startDate() const { return m_startDate; } QDateTime Proposal::endDate() const { return m_endDate; } -float Proposal::paymentAmount() const { return m_paymentAmount; } +double Proposal::paymentAmount() const { return m_paymentAmount; } QString Proposal::url() const { return m_url; } diff --git a/src/qt/governancelist.h b/src/qt/governancelist.h index 04c65acdb6539..e64562bf4b9b5 100644 --- a/src/qt/governancelist.h +++ b/src/qt/governancelist.h @@ -65,7 +65,7 @@ class Proposal : public QObject QString m_title; QDateTime m_startDate; QDateTime m_endDate; - float m_paymentAmount; + double m_paymentAmount; QString m_url; public: @@ -74,7 +74,7 @@ class Proposal : public QObject QString hash() const; QDateTime startDate() const; QDateTime endDate() const; - float paymentAmount() const; + double paymentAmount() const; QString url() const; bool isActive() const; QString votingStatus(int nAbsVoteReq) const;