@solana/web3.js 1.66.1 → 1.66.2

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.cjs.js CHANGED
@@ -5739,7 +5739,7 @@ class Connection {
5739
5739
  const res = superstruct.create(unsafeRes, jsonRpcResultAndContext(superstruct.nullable(superstruct.number())));
5740
5740
 
5741
5741
  if ('error' in res) {
5742
- throw new SolanaJSONRPCError(res.error, 'failed to get slot');
5742
+ throw new SolanaJSONRPCError(res.error, 'failed to get fee for message');
5743
5743
  }
5744
5744
 
5745
5745
  if (res.result === null) {