Skip to content
Snippets Groups Projects
Commit 50f57eb5 authored by Mahdi Yari's avatar Mahdi Yari
Browse files

Merge branch 'fbslo-master-patch-97567' into 'master'

Fix witnessSetProperties documentation

See merge request !19
parents 32b967b9 e917c7a0
No related branches found
No related tags found
1 merge request!19Fix witnessSetProperties documentation
......@@ -2377,7 +2377,7 @@ const props = {
"account_subsidy_budget": 10000, // optional
"account_subsidy_decay": 330782, // optional
"maximum_block_size": 65536, // optional
"hbd_interest_rate": "0.000 HIVE", // optional
"hbd_interest_rate": 0, // optional
"hbd_exchange_rate": {"base": "0.250 HBD", "quote": "1.000 HIVE"}, // optional
"url": "https://testurl", // optional
"new_signing_key": "Public Signing Key" // optional
......@@ -2385,7 +2385,7 @@ const props = {
const witnessOps = hive.utils.buildWitnessUpdateOp(owner, props);
hive.broadcast.witnessSetProperties('Private Signing Key', owner, witnessOps.props, [], function(err, result) {
hive.broadcast.witnessSetProperties('Private Signing Key', owner, witnessOps[1].props, [], function(err, result) {
console.log(err, result);
});
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment