Skip to content

Commit

Permalink
ProgramAccountConfig 생성자 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
skkwon80 committed Jan 25, 2022
1 parent c443658 commit 5bac66a
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -19,4 +19,9 @@ public ProgramAccountConfig(List<Object> filters) {
public ProgramAccountConfig(Encoding encoding) {
this.encoding = encoding;
}
}

public ProgramAccountConfig(Encoding encoding, List<Object> filters) {
this.encoding = encoding;
this.filters = filters;
}
}

0 comments on commit 5bac66a

Please sign in to comment.