@solana/web3.js 1.43.4 → 1.43.5
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.
- package/lib/index.browser.cjs.js +2 -2
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +2 -2
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +2 -2
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +2 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +2 -2
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/package.json +2 -2
- package/src/transaction.ts +2 -2
package/lib/index.esm.js
CHANGED
|
@@ -2618,10 +2618,10 @@ class Transaction {
|
|
|
2618
2618
|
if (x.isWritable !== y.isWritable) {
|
|
2619
2619
|
// Writable accounts always come before read-only accounts
|
|
2620
2620
|
return x.isWritable ? -1 : 1;
|
|
2621
|
-
} // Otherwise, sort by pubkey.
|
|
2621
|
+
} // Otherwise, sort by pubkey, stringwise.
|
|
2622
2622
|
|
|
2623
2623
|
|
|
2624
|
-
return x.pubkey.
|
|
2624
|
+
return x.pubkey.toBase58().localeCompare(y.pubkey.toBase58());
|
|
2625
2625
|
}); // Move fee payer to the front
|
|
2626
2626
|
|
|
2627
2627
|
const feePayerIndex = uniqueMetas.findIndex(x => {
|