mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-07 16:06:26 +00:00
Update 17_3_getinfo.js
This commit is contained in:
parent
fb4fabe88e
commit
0b7900433d
@ -13,10 +13,4 @@ agent.getBlockCount(function (err, blockCount) {
|
||||
console.log(hash.result);
|
||||
});
|
||||
|
||||
agent.getWalletInfo(function (err, walletInfo) {
|
||||
if (err)
|
||||
throw Error(JSON.stringify(err));
|
||||
console.log(walletInfo.result);
|
||||
});
|
||||
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user