diff --git a/src/LedgerProposal.cpp b/src/LedgerProposal.cpp index 9c78e0afb7..8efbc256ce 100644 --- a/src/LedgerProposal.cpp +++ b/src/LedgerProposal.cpp @@ -49,4 +49,4 @@ std::vector LedgerProposal::sign(void) if (!mKey->Sign(getSigningHash(), ret)) throw std::runtime_error("unable to sign proposal"); return ret; -} \ No newline at end of file +} diff --git a/src/LedgerProposal.h b/src/LedgerProposal.h index 6939fd7208..daeda453aa 100644 --- a/src/LedgerProposal.h +++ b/src/LedgerProposal.h @@ -36,9 +36,9 @@ public: const uint256& getCurrentHash() const { return mCurrentHash; } const uint256& getPrevLedger() const { return mPreviousLedger; } uint32 getProposeSeq() const { return mProposeSeq; } + CKey::pointer peekKey() { return mKey; } std::vector getPubKey() const { return mKey->GetPubKey(); } std::vector sign(); - CKey::pointer peekKey() { return mKey; } void changePosition(const uint256& newPosition); };