@solana/web3.js 1.41.4 → 1.41.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.
@@ -2490,11 +2490,7 @@ class Transaction {
2490
2490
 
2491
2491
 
2492
2492
  compileMessage() {
2493
- if (this._message) {
2494
- if (JSON.stringify(this.toJSON()) !== JSON.stringify(this._json)) {
2495
- throw new Error('Transaction message mutated after being populated from Message');
2496
- }
2497
-
2493
+ if (this._message && JSON.stringify(this.toJSON()) === JSON.stringify(this._json)) {
2498
2494
  return this._message;
2499
2495
  }
2500
2496