mirror of
https://github.com/EvernodeXRPL/sashimono.git
synced 2026-07-25 08:00:27 +00:00
Minor fixes
This commit is contained in:
@@ -312,11 +312,11 @@ class ReputationD {
|
||||
async #getUniverseInfo() {
|
||||
const repInfo = await this.hostClient.getReputationInfo();
|
||||
|
||||
if (!repInfo || !repInfo.orderedId)
|
||||
if (!repInfo || !('orderedId' in repInfo))
|
||||
return null;
|
||||
|
||||
return {
|
||||
index: repInfo.orderedId / this.#universeSize
|
||||
index: Math.floor(repInfo.orderedId / this.#universeSize)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user