Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
debris committed Apr 26, 2015
1 parent c5f6379 commit 3b799d1
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/web3-light.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/web3-light.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web3-light.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web3.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/web3.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web3.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/web3/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ SolidityFunction.prototype.signature = function () {
SolidityFunction.prototype.call = function () {
var payload = this.toPayload.apply(this, Array.prototype.slice.call(arguments));
var output = web3.eth.call(payload);
output = output.length > 2 ? output.slice(2) : output;
output = output.length >= 2 ? output.slice(2) : output;
var result = coder.decodeParams(this._outputTypes, output);
return result.length === 1 ? result[0] : result;
};
Expand Down
2 changes: 1 addition & 1 deletion test/coder.decodeParam.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('lib/solidity/coder', function () {
describe('lib/solidity/coder', function () {
describe('decodeParams', function () {
var test = function (t) {
it('should turn ' + t.value + ' to ' + t.expected, function () {
it('should turn ' + t.values + ' to ' + t.expected, function () {
assert.deepEqual(coder.decodeParams(t.types, t.values), t.expected);
});
};
Expand Down
2 changes: 1 addition & 1 deletion test/coder.encodeParam.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('lib/solidity/coder', function () {
describe('lib/solidity/coder', function () {
describe('encodeParams', function () {
var test = function (t) {
it('should turn ' + t.value + ' to ' + t.expected, function () {
it('should turn ' + t.values + ' to ' + t.expected, function () {
assert.equal(coder.encodeParams(t.types, t.values), t.expected);
});
};
Expand Down

0 comments on commit 3b799d1

Please sign in to comment.