Skip to content

Commit 490bf1c

Browse files
yashrajdesaiappetrosyan
authored andcommitted
feat: update lib with latest proto
Signed-off-by: yashrajdesai <[email protected]>
1 parent c970342 commit 490bf1c

File tree

12 files changed

+5094
-2824
lines changed

12 files changed

+5094
-2824
lines changed

src/commands/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ function addAssetQuantity (commandOptions, params) {
6363
* @param {Object} params
6464
* @property {String} params.address
6565
* @property {String} params.peerKey
66+
* @property {boolean} params.syncingPeer
6667
* @link https://iroha.readthedocs.io/en/master/develop/api/commands.html#add-peer
6768
*/
6869
function addPeer (commandOptions, params) {
@@ -72,7 +73,7 @@ function addPeer (commandOptions, params) {
7273
txHelper.emptyTransaction(),
7374
'addPeer',
7475
{
75-
peer: validate(params, ['address', 'peerKey'])
76+
peer: validate(params, ['address', 'peerKey', 'syncingPeer'])
7677
}
7778
)
7879
)

0 commit comments

Comments
 (0)