Skip to content

Commit 2c0d58f

Browse files
authored
Merge pull request #4 from lovely-man/0.5.0_dev
提交0.5.0—dev代码
2 parents 94c6a36 + d3dcb2b commit 2c0d58f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/solidity/coder.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,11 @@ SolidityCoder.prototype.encodePlatONParams = function (sendType, types, params)
165165
buf.writeInt32BE(params[index], 0);
166166
arr.push(buf);
167167
break;
168+
case 'uint32':
169+
var buf = Buffer.alloc(4);
170+
buf.writeInt32BE(params[index], 0);
171+
arr.push(buf);
172+
break;
168173
case 'uint64':
169174
var buf = Uint64be.encode(params[index]);
170175
arr.push(buf);

0 commit comments

Comments
 (0)