electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit eb96d422f7f7c7df40bb3a028b573263a1680e9a
parent d78537c8c4973d1589347b0573be177b8dbeb5a3
Author: ThomasV <thomasv@electrum.org>
Date:   Sat,  9 Feb 2019 12:15:46 +0100

import version module

Diffstat:
Melectrum/interface.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/electrum/interface.py b/electrum/interface.py @@ -39,7 +39,7 @@ from .util import PrintError, ignore_exceptions, log_exceptions, bfh, SilentTask from . import util from . import x509 from . import pem -from .version import ELECTRUM_VERSION, PROTOCOL_VERSION +from . import version from . import blockchain from .blockchain import Blockchain from . import constants @@ -372,7 +372,7 @@ class Interface(PrintError): self.session = session # type: NotificationSession self.session.default_timeout = self.network.get_network_timeout_seconds(NetworkTimeout.Generic) try: - ver = await session.send_request('server.version', [ELECTRUM_VERSION, PROTOCOL_VERSION]) + ver = await session.send_request('server.version', [version.ELECTRUM_VERSION, version.PROTOCOL_VERSION]) except aiorpcx.jsonrpc.RPCError as e: raise GracefulDisconnect(e) # probably 'unsupported protocol version' if exit_early: