Compare commits
2 commits
2f25febfe6
...
41a3d52319
| Author | SHA1 | Date | |
|---|---|---|---|
| 41a3d52319 | |||
|
|
f1e4c3772e |
1 changed files with 3 additions and 1 deletions
|
|
@ -556,7 +556,9 @@ async function loadLiquidityStats({ notify = false }: { notify?: boolean } = {})
|
|||
});
|
||||
|
||||
let currentTick: number | null = null;
|
||||
if (isRecord(slot0Response) && typeof slot0Response.tick === 'number') {
|
||||
if (Array.isArray(slot0Response) && typeof slot0Response[1] === 'number') {
|
||||
currentTick = slot0Response[1];
|
||||
} else if (isRecord(slot0Response) && typeof slot0Response.tick === 'number') {
|
||||
currentTick = slot0Response.tick;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue