Skip to content

Commit

Permalink
Added threshold to wallet api response (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
RodriFS authored Oct 16, 2023
1 parent 49c5c47 commit 8e11433
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Proto/nodeguard.proto
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ message Wallet {
string name = 2;
bool is_hot_wallet = 3;
repeated AccountKeySettings account_key_settings = 4;
int32 threshold = 5;
}
message GetAvailableWalletsResponse {
repeated Wallet wallets = 1;
Expand Down
3 changes: 2 additions & 1 deletion src/Rpc/NodeGuardService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,8 @@ public override async Task<GetAvailableWalletsResponse> GetAvailableWallets(GetA
{
Xpub = k.XPUB,
})
}
},
Threshold = w.MofN
}).ToList()
}
};
Expand Down

0 comments on commit 8e11433

Please sign in to comment.