Skip to content

Commit

Permalink
Merge pull request jtoomim#35 from imaginaryusername/patch-4
Browse files Browse the repository at this point in the history
Compatibility with getinfo deprecation
  • Loading branch information
jtoomim authored Sep 2, 2019
2 parents 9b5938a + bfd794c commit 1b07f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2pool/bitcoin/networks/bitcoincash_testnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
RPC_PORT = 18332
RPC_CHECK = defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'getreceivedbyaddress' in (yield bitcoind.rpc_help()) and
(yield bitcoind.rpc_getinfo())['testnet']
(yield bitcoind.rpc_getblockchaininfo())['chain'] == 'test'
))
SUBSIDY_FUNC = lambda height: 50*100000000 >> (height + 1)//210000
POW_FUNC = data.hash256
Expand Down

0 comments on commit 1b07f55

Please sign in to comment.