Force server string response for Electrum-Dash 2.6.4 client
This commit is contained in:
parent
f179c67935
commit
4da2278729
@ -415,6 +415,16 @@ class DashElectrumX(ElectrumX):
|
|||||||
}
|
}
|
||||||
self.send_binary(self.encode_payload(payload))
|
self.send_binary(self.encode_payload(payload))
|
||||||
|
|
||||||
|
def server_version(self, client_name=None, protocol_version=None):
|
||||||
|
'''Returns the server version as a string.
|
||||||
|
ForcE version string response for Electrum-Dash 2.6.4
|
||||||
|
'''
|
||||||
|
|
||||||
|
default_return = super().server_version(client_name, protocol_version)
|
||||||
|
if self.client == '2.6.4':
|
||||||
|
return '1.0'
|
||||||
|
return default_return
|
||||||
|
|
||||||
# Masternode command handlers
|
# Masternode command handlers
|
||||||
async def masternode_announce_broadcast(self, signmnb):
|
async def masternode_announce_broadcast(self, signmnb):
|
||||||
'''Pass through the parameters to the daemon.
|
'''Pass through the parameters to the daemon.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user