Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added threshold to api #320

Merged
merged 14 commits into from
Oct 17, 2023
Merged
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
Loading