Skip to content

Commit

Permalink
Merge remote-tracking branch 'Galadrin/patch-1' into release-v0.5.15
Browse files Browse the repository at this point in the history
  • Loading branch information
tombeynon committed Dec 1, 2023
2 parents 186ebb4 + 082e244 commit a13a699
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ The on-chain validator attributes are returned as they would be from the REST AP
},
"min_self_delegation": "1000000",
"rank": 54,
"mintscan_image": "https://raw.githubusercontent.com/cosmostation/cosmostation_token_resource/master/moniker/osmosis/osmovaloper1u5v0m74mql5nzfx2yh43s2tke4mvzghr6m2n5t.png",
"mintscan_image": "https://raw.githubusercontent.com/cosmostation/chainlist/main/chain/osmosis/moniker/osmovaloper1u5v0m74mql5nzfx2yh43s2tke4mvzghr6m2n5t.png",
"keybase_image": "https://s3.amazonaws.com/keybase_processed_uploads/9d337c16fa39ef101c37131dbec2cf05_360_360.jpg",
"restake": {
"address": "osmo1yxsmtnxdt6gxnaqrg0j0nudg7et2gqczed559y",
Expand All @@ -288,4 +288,4 @@ The on-chain validator attributes are returned as they would be from the REST AP
...
]
}
```
```
2 changes: 1 addition & 1 deletion validators/validatorImageMonitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function ValidatorImageMonitor() {
const calls = Object.entries(current).map(([address, validator]) => {
return async () => {
try {
const mintscan_image = `https://raw.githubusercontent.com/cosmostation/cosmostation_token_resource/master/moniker/${chain.mintscanPath()}/${address}.png`
const mintscan_image = `https://raw.githubusercontent.com/cosmostation/chainlist/main/chain/${chain.mintscanPath()}/moniker/${address}.png`
await got.get(mintscan_image, gotOpts)
await client.json.set('validators:' + chain.path, '$.validators.' + address + '.mintscan_image', mintscan_image);
} catch { }
Expand Down

0 comments on commit a13a699

Please sign in to comment.