From 5bac66a90e3feb30c2473358da10203a66a70538 Mon Sep 17 00:00:00 2001 From: "sk.kwon" Date: Tue, 25 Jan 2022 17:45:06 +0900 Subject: [PATCH] =?UTF-8?q?ProgramAccountConfig=20=EC=83=9D=EC=84=B1?= =?UTF-8?q?=EC=9E=90=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rpc/types/config/ProgramAccountConfig.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/p2p/solanaj/rpc/types/config/ProgramAccountConfig.java b/src/main/java/org/p2p/solanaj/rpc/types/config/ProgramAccountConfig.java index 98b2ac47..216df9f2 100644 --- a/src/main/java/org/p2p/solanaj/rpc/types/config/ProgramAccountConfig.java +++ b/src/main/java/org/p2p/solanaj/rpc/types/config/ProgramAccountConfig.java @@ -1,9 +1,9 @@ package org.p2p.solanaj.rpc.types.config; -import java.util.List; - import org.p2p.solanaj.rpc.types.config.RpcSendTransactionConfig.Encoding; +import java.util.List; + public class ProgramAccountConfig { private Encoding encoding = null; @@ -19,4 +19,9 @@ public ProgramAccountConfig(List filters) { public ProgramAccountConfig(Encoding encoding) { this.encoding = encoding; } -} \ No newline at end of file + + public ProgramAccountConfig(Encoding encoding, List filters) { + this.encoding = encoding; + this.filters = filters; + } +}