Skip to content

Commit

Permalink
Fixed typo in error message (#778).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Apr 22, 2020
1 parent e8c89d7 commit fab14f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.ts/utils/abi-coder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ class CoderAddress extends Coder {
}
decode(data: Uint8Array, offset: number): DecodedResult {
if (data.length < offset + 32) {
errors.throwError('insufficuent data for address type', errors.INVALID_ARGUMENT, {
errors.throwError('insufficient data for address type', errors.INVALID_ARGUMENT, {
arg: this.localName,
coderType: 'address',
value: hexlify(data.slice(offset, offset + 32))
Expand Down

0 comments on commit fab14f8

Please sign in to comment.