This commit is contained in:
Neil Booth 2018-06-10 18:21:19 +09:00
parent 93ee197b48
commit e29b692b9d

View File

@ -350,7 +350,7 @@ class ElectrumX(SessionBase):
with codecs.open(banner_file, 'r', 'utf-8') as f:
banner = f.read()
except Exception as e:
self.loggererror(f'reading banner file {banner_file}: {e}')
self.logger.error(f'reading banner file {banner_file}: {e}')
else:
banner = await self.replaced_banner(banner)
@ -547,9 +547,8 @@ class DashElectrumX(ElectrumX):
result = []
def get_masternode_payment_queue(mns):
'''
Returns the calculated position in the payment queue for all the valid
masterernodes in the given mns list.
'''Returns the calculated position in the payment queue for all the
valid masterernodes in the given mns list.
mns: a list of masternodes information.
'''