Skip to content

Commit

Permalink
🐛 Use address central handler
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco committed May 12, 2024
1 parent 889b988 commit 5f20f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Solana.Unity.Anchor/ClientGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private MemberDeclarationSyntax GenerateInstructionSerializationSyntaxTree(Idl i

List<StatementSyntax> body = new();

if (!string.IsNullOrEmpty(idl.DefaultProgramAddress))
if (!string.IsNullOrEmpty(idl.Address))
{
var pkInit = ExpressionStatement(
AssignmentExpression(
Expand Down

0 comments on commit 5f20f9b

Please sign in to comment.