@gearbox-protocol/sdk 9.12.5 → 9.12.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -109,6 +109,9 @@ class PriceFeedRegister extends import_base.SDKConstruct {
|
|
|
109
109
|
txs.push(tx);
|
|
110
110
|
latestUpdate.updates.push(data);
|
|
111
111
|
}
|
|
112
|
+
txs.sort(
|
|
113
|
+
(a, b) => a.raw.to.toLowerCase().localeCompare(b.raw.to.toLowerCase())
|
|
114
|
+
);
|
|
112
115
|
const result = { txs, timestamp: maxTimestamp };
|
|
113
116
|
const tsDelta = BigInt(maxTimestamp) - this.sdk.timestamp;
|
|
114
117
|
this.logger?.debug(
|
|
@@ -98,6 +98,9 @@ class PriceFeedRegister extends SDKConstruct {
|
|
|
98
98
|
txs.push(tx);
|
|
99
99
|
latestUpdate.updates.push(data);
|
|
100
100
|
}
|
|
101
|
+
txs.sort(
|
|
102
|
+
(a, b) => a.raw.to.toLowerCase().localeCompare(b.raw.to.toLowerCase())
|
|
103
|
+
);
|
|
101
104
|
const result = { txs, timestamp: maxTimestamp };
|
|
102
105
|
const tsDelta = BigInt(maxTimestamp) - this.sdk.timestamp;
|
|
103
106
|
this.logger?.debug(
|