Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions src/gridcoin/project.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class ProjectEntry
std::optional<bool> HasGDPRControls() const;

//!
//! \brief Returns true if project requires an externel adapter for statistics collection.
//! \brief Returns true if project requires an external adapter for statistics collection.
//!
std::optional<bool> RequiresExtAdapter() const;

Expand Down Expand Up @@ -616,7 +616,7 @@ class AutoGreylist
//! v3 superblock history is less than 7, the WAS will be equal to 1.0 unless there are no collected statistics
//! on two superblocks during that interval, in which case the WAS will be 0.0.
//!
//! \return Fraction of Work Availablity Score.
//! \return Fraction of Work Availability Score.
//!
Fraction GetWAS()
{
Expand Down
2 changes: 1 addition & 1 deletion src/gridcoin/voting/poll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ Fraction Poll::ResolveMagnitudeWeightFactor(CBlockIndex *index) const
// Find the current protocol entry value for Magnitude Weight Factor, if it exists.
ProtocolEntryOption protocol_entry = GetProtocolRegistry().TryLastBeforeTimestamp("magnitudeweightfactor", m_timestamp);

// If their is an entry prior or equal in timestemp to the start of the poll and it is active then set the magnitude weight
// If their is an entry prior or equal in timestamp to the start of the poll and it is active then set the magnitude weight
// factor to that value. If the last entry is not active (i.e. deleted), then leave at the default.
if (protocol_entry != nullptr && protocol_entry->m_status == ProtocolEntryStatus::ACTIVE) {
magnitude_weight_factor = Fraction().FromString(protocol_entry->m_value);
Expand Down
Loading