Updatd dist files.
This commit is contained in:
parent
92c978e5c2
commit
edf59d2c26
2
dist/ethers.js
vendored
2
dist/ethers.js
vendored
@ -12832,7 +12832,7 @@ var CoderFixedBytes = /** @class */ (function (_super) {
|
|||||||
};
|
};
|
||||||
CoderFixedBytes.prototype.decode = function (data, offset) {
|
CoderFixedBytes.prototype.decode = function (data, offset) {
|
||||||
if (data.length < offset + 32) {
|
if (data.length < offset + 32) {
|
||||||
errors.throwError('insufficient data for ' + name + ' type', errors.INVALID_ARGUMENT, {
|
errors.throwError('insufficient data for ' + this.name + ' type', errors.INVALID_ARGUMENT, {
|
||||||
arg: this.localName,
|
arg: this.localName,
|
||||||
coderType: this.name,
|
coderType: this.name,
|
||||||
value: bytes_1.hexlify(data.slice(offset, offset + 32))
|
value: bytes_1.hexlify(data.slice(offset, offset + 32))
|
||||||
|
2
dist/ethers.min.js
vendored
2
dist/ethers.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/ethers.min.js.map
vendored
2
dist/ethers.min.js.map
vendored
File diff suppressed because one or more lines are too long
@ -480,7 +480,7 @@ var CoderFixedBytes = /** @class */ (function (_super) {
|
|||||||
};
|
};
|
||||||
CoderFixedBytes.prototype.decode = function (data, offset) {
|
CoderFixedBytes.prototype.decode = function (data, offset) {
|
||||||
if (data.length < offset + 32) {
|
if (data.length < offset + 32) {
|
||||||
errors.throwError('insufficient data for ' + name + ' type', errors.INVALID_ARGUMENT, {
|
errors.throwError('insufficient data for ' + this.name + ' type', errors.INVALID_ARGUMENT, {
|
||||||
arg: this.localName,
|
arg: this.localName,
|
||||||
coderType: this.name,
|
coderType: this.name,
|
||||||
value: bytes_1.hexlify(data.slice(offset, offset + 32))
|
value: bytes_1.hexlify(data.slice(offset, offset + 32))
|
||||||
|
Loading…
Reference in New Issue
Block a user