From 9a566673ad3c9f5e170db1ba8031004c5ce1e2ed Mon Sep 17 00:00:00 2001 From: Donovan Walker Date: Tue, 25 Sep 2018 22:04:12 -0500 Subject: [PATCH] [#406] add operation to roster --- src/broadcast/index.js | 2 +- src/broadcast/operations.js | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/broadcast/index.js b/src/broadcast/index.js index 81ecfe22..ff9cfe43 100644 --- a/src/broadcast/index.js +++ b/src/broadcast/index.js @@ -77,7 +77,7 @@ operations.forEach((operation) => { const useCommentPermlink = operationParams.indexOf('parent_permlink') !== -1 && - operationParams.indexOf('parent_permlink') !== -1; + operationParams.indexOf('parent_permlink') !== -1; //todo: figure out why and kill it if possible steemBroadcast[`${operationName}With`] = function steemBroadcast$specializedSendWith(wif, options, callback) { diff --git a/src/broadcast/operations.js b/src/broadcast/operations.js index aed1e99e..5bf7a50d 100644 --- a/src/broadcast/operations.js +++ b/src/broadcast/operations.js @@ -498,5 +498,14 @@ module.exports = [ "request_id", "memo" ] + }, + { + "roles": ["owner"], + "operation": "witness_set_properties", + "params": [ + "owner", + "props", + "extensions", + ] } ];