HACK: temporary hack to move things along

This commit is contained in:
Roy Lee 2021-11-11 19:36:41 -08:00 committed by Jack Robison
parent e5f124fe68
commit 749f72a8c5
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -481,7 +481,9 @@ class LBCWalletNode:
@property
def rpc_url(self):
return f'http://{self.rpcuser}:{self.rpcpassword}@{self.hostname}:{self.lbcwallet_rpcport}/'
# FIXME: somehow the hub/sdk doesn't learn the blocks through the Walet RPC port, why?
# return f'http://{self.rpcuser}:{self.rpcpassword}@{self.hostname}:{self.lbcwallet_rpcport}/'
return f'http://{self.rpcuser}:{self.rpcpassword}@{self.hostname}:{self.lbcd_rpcport}/'
def is_expected_block(self, e: BlockHeightEvent):
return self.block_expected == e.height