Skip to content

Commit

Permalink
feat: update lib with latest proto
Browse files Browse the repository at this point in the history
Signed-off-by: yashrajdesai <yashrajdesai30@gmail.com>
  • Loading branch information
yashrajdesai authored and appetrosyan committed Oct 26, 2022
1 parent c970342 commit 490bf1c
Show file tree
Hide file tree
Showing 12 changed files with 5,094 additions and 2,824 deletions.
3 changes: 2 additions & 1 deletion src/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function addAssetQuantity (commandOptions, params) {
* @param {Object} params
* @property {String} params.address
* @property {String} params.peerKey
* @property {boolean} params.syncingPeer
* @link https://iroha.readthedocs.io/en/master/develop/api/commands.html#add-peer
*/
function addPeer (commandOptions, params) {
Expand All @@ -72,7 +73,7 @@ function addPeer (commandOptions, params) {
txHelper.emptyTransaction(),
'addPeer',
{
peer: validate(params, ['address', 'peerKey'])
peer: validate(params, ['address', 'peerKey', 'syncingPeer'])
}
)
)
Expand Down
Loading

0 comments on commit 490bf1c

Please sign in to comment.