Skip to content

Commit

Permalink
Fix #1089 (#1162)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkanani authored and frozeman committed Nov 13, 2017
1 parent c8a38fa commit 15ffd55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web3-eth-abi/src/formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ var formatOutputInt = function (param) {
var formatOutputUInt = function (param, name) {
var value = param.staticPart();

if(!value) {
if(!value && param.rawValue) {
throw new Error('Couldn\'t decode '+ name +' from ABI: 0x'+ param.rawValue);
}

Expand Down

0 comments on commit 15ffd55

Please sign in to comment.