Skip to content

Commit 9d85e07

Browse files
committed
Update Governance & AddressLookupTable program comments
Warning cleanup from latest PRs
1 parent 023e107 commit 9d85e07

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

src/Solnet.Programs/AddressLookupTableProgram.cs

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
namespace Solnet.Programs
66
{
7+
/// <summary>
8+
/// Address lookup table program
9+
/// </summary>
710
public static class AddressLookupTableProgram
811
{
912
/// <summary>
@@ -21,6 +24,8 @@ public static class AddressLookupTableProgram
2124
/// </summary>
2225
/// <param name="Authority"></param>
2326
/// <param name="Payer"></param>
27+
/// <param name="ALT"></param>
28+
/// <param name="bump"></param>
2429
/// <param name="RecentSlot"></param>
2530
/// <returns></returns>
2631
public static TransactionInstruction CreateAddressLookupTable(

src/Solnet.Programs/AddressLookupTableProgramData.cs

+3-4
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ internal static class AddressLookupTableProgramData
1111
/// <summary>
1212
/// Encode transaction instruction data for the <see cref="AddressLookupTableProgramInstruction.Values.CreateLookupTable"/> method.
1313
/// </summary>
14-
/// <param name="Authority">Who own this table </param>
15-
/// <param name="Payer">Who pay for this table</param>
16-
/// <param name="RecentSlot">For random seed</param>
14+
/// <param name="RecentSlot"></param>
15+
/// <param name="bump"></param>
1716
/// <returns></returns>
1817
internal static byte[] EncodeCreateAddressLookupTableData( ulong RecentSlot,byte bump)
1918
{
@@ -39,7 +38,7 @@ internal static byte[] EncodeFreezeLookupTableData()
3938
/// <summary>
4039
/// Encode transaction instruction data for the <see cref="AddressLookupTableProgramInstruction.Values.ExtendLookupTable"/> method.
4140
/// </summary>
42-
/// <param name="RecentSlot"></param>
41+
/// <param name="KeyCounts"></param>
4342
/// <param name="Keys"></param>
4443
/// <returns></returns>
4544
internal static byte[] EncodeExtendLookupTableData(ulong KeyCounts,List<PublicKey> Keys)

src/Solnet.Programs/Governance/GovernanceClient.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public class GovernanceClient : BaseClient
2222
/// <summary>
2323
/// Initialize the governance client.
2424
/// </summary>
25-
/// <param name="rpcClient">An <see cref="IRpcClient"/> instance.</param>
25+
/// <param name="rpcClient"></param>
26+
/// <param name="governanceProgramID"></param>
2627
public GovernanceClient(IRpcClient rpcClient, PublicKey governanceProgramID) : base(rpcClient, null, governanceProgramID) { }
2728

2829
/// <summary>

0 commit comments

Comments
 (0)