From 3f3bfb3cba52947a0b01e7e89885a76ce0a6bbc3 Mon Sep 17 00:00:00 2001 From: Arjun Hassard Date: Thu, 14 May 2020 13:15:40 -1000 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: David Núñez --- nucypher/blockchain/eth/actors.py | 2 +- nucypher/blockchain/eth/agents.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nucypher/blockchain/eth/actors.py b/nucypher/blockchain/eth/actors.py index 7c5444317..01561629f 100644 --- a/nucypher/blockchain/eth/actors.py +++ b/nucypher/blockchain/eth/actors.py @@ -1203,7 +1203,7 @@ class Staker(NucypherTokenActor): @property def min_fee_rate(self) -> int: - """Minimum fee rate that staker earns""" + """Minimum fee rate that staker accepts""" staker_address = self.checksum_address min_fee = self.policy_agent.get_min_fee_rate(staker_address) return min_fee diff --git a/nucypher/blockchain/eth/agents.py b/nucypher/blockchain/eth/agents.py index c8f6b65b0..49626dfd3 100644 --- a/nucypher/blockchain/eth/agents.py +++ b/nucypher/blockchain/eth/agents.py @@ -821,7 +821,7 @@ class PolicyManagerAgent(EthereumContractAgent): return fee_amount def get_fee_rate_range(self) -> Tuple[int, int, int]: - """Check maximum, minimum & default fee rate for all stakers and all policies ('global fee range')""" + """Check minimum, default & maximum fee rate for all stakers and all policies ('global fee range')""" minimum, default, maximum = self.contract.functions.feeRateRange().call() return minimum, default, maximum