Skip to content

Commit

Permalink
Merge pull request #22 from GalaxyPay/dev
Browse files Browse the repository at this point in the history
fnet catchpoint lookup
  • Loading branch information
acfunk authored Nov 21, 2024
2 parents 981ce52 + 8cf144c commit fbb1fc4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ jobs:
uses: ncipollo/release-action@v1
with:
allowUpdates: true
tag: v1.3.2
tag: v1.3.3
artifacts: "Output\\AvmWinNode_*_Setup.exe"
2 changes: 1 addition & 1 deletion AvmWinNode.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "AvmWinNode"
#define MyAppVersion "1.3.2"
#define MyAppVersion "1.3.3"
#define MyAppPublisher "Galaxy Pay, LLC"
#define MyAppPublisherURL "https://galaxy-pay.com"
#define MyPublishPath "publish"
Expand Down
2 changes: 1 addition & 1 deletion webui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "avm-win-node-webui",
"version": "1.3.2",
"version": "1.3.3",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
Expand Down
7 changes: 3 additions & 4 deletions webui/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function getCatchpoint(name: string): Promise<string | undefined> {
const MAINNET_URL =
"https://afmetrics.api.nodely.io/v1/delayed/catchup/label/current";
const VOIMAIN_URL = "https://mainnet-api.voi.nodely.dev/v2/status";
// const FNET_URL = "https://fnet-api.4160.nodely.io/v2/status";
const FNET_URL = "https://fnet-catchpoints.algorand.green/latest";

switch (name) {
case "Algorand": {
Expand All @@ -44,9 +44,8 @@ async function getCatchpoint(name: string): Promise<string | undefined> {
return resp.data["last-catchpoint"];
}
case "FNet": {
// const resp = await axios({ url: FNET_URL });
// return resp.data["last-catchpoint"];
return "2520000#PRWW73GNIFJFFDLXQZRIC2HV2TXDCW6C6L4VLUBD26K5FBOV3FOA";
const resp = await axios({ url: FNET_URL });
return resp.data.trim();
}
}
}
Expand Down

0 comments on commit fbb1fc4

Please sign in to comment.