Skip to content

Commit 3f4efc9

Browse files
committed
[ADDED] DEBUG log if RPC > 0.16 getinfo wrapper fails
1 parent 96ab98a commit 3f4efc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/classes/bitcoinwrapper.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public function getinfo() {
2727
try {
2828
return $this->memcache->setCache(__FUNCTION__, parent::getnetworkinfo()+parent::getmininginfo()+parent::getwalletinfo(), 30);
2929
} catch (Exception $e) {
30+
$this->oDebug->append("DEPRECATED : RPC version < 0.16, fallback to `getinfo` RPC call", 2);
3031
return $this->memcache->setCache(__FUNCTION__, parent::getinfo(), 30);
3132
}
3233
}

0 commit comments

Comments
 (0)