diff --git a/pom.xml b/pom.xml index b438717..f55ed78 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,7 @@ com.mmorrell openbook - 1.30.2 + 1.30.3 diff --git a/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java b/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java index 395a433..ffe8fa4 100644 --- a/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java +++ b/src/main/java/markets/arcana/obcranker/ObCrankerApplication.java @@ -30,6 +30,9 @@ public class ObCrankerApplication { @Value("${application.privateKey}") private String privateKeyFileName; + @Value("${application.solUsdcPriorityFee}") + private int solUsdcPriorityFee; + private final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(8); public static void main(String[] args) { @@ -60,7 +63,8 @@ public void crankEventHeapLoop() { finalTradingAccount, marketId, 8, - "Cranked by arcana.markets \uD83E\uDDD9" + "Cranked by arcana.markets \uD83E\uDDD9", + solUsdcPriorityFee ); if (transactionId.isPresent()) { diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 2b65b66..81f582f 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,2 +1,3 @@ application.endpoint=RPC -application.privateKey=privateKey.json \ No newline at end of file +application.privateKey=privateKey.json +application.solUsdcPriorityFee=11111 \ No newline at end of file