Merge pull request #580 from tinyema/fix-trtl-daemon
fix trtl daemon get_info
This commit is contained in:
@@ -567,7 +567,7 @@ function getNetworkData (callback, rpcMode) {
|
||||
// Try get_info RPC method first if available (not all coins support it)
|
||||
if (rpcMode === 'get_info') {
|
||||
apiInterfaces.rpcDaemon('get_info', {}, function (error, reply) {
|
||||
if (error) {
|
||||
if (error || !reply) {
|
||||
getNetworkData(callback, 'getlastblockheader');
|
||||
return;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user