parent
54e99cd03a
commit
2ce4ff391c
|
@ -438,7 +438,7 @@ var pool = module.exports = function pool(options, authorizeFn) {
|
|||
return util.addressToScript(rpcResults.validateaddress.address);
|
||||
})();
|
||||
|
||||
options.testnet = options.coin.hasGetInfo ? rpcResults.getblockchaininfo.chain === "test" : rpcResults.getinfo.testnet;
|
||||
options.testnet = options.coin.hasGetInfo ? rpcResults.getinfo.testnet : rpcResults.getblockchaininfo.chain === "test";
|
||||
options.protocolVersion = options.coin.hasGetInfo ? rpcResults.getinfo.protocolversion : rpcResults.getnetworkinfo.protocolversion;
|
||||
|
||||
var tempDifficulty = options.coin.hasGetInfo ? rpcResults.getinfo.difficulty : rpcResults.getblockchaininfo.difficulty;
|
||||
|
|
Loading…
Reference in New Issue