Skip to content

Commit

Permalink
Fixes invalid addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyman727 authored Sep 21, 2016
1 parent 104b42c commit 525bbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bglib.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ bglib.prototype.getPacket = function(command, params, callback) {
case 10:
var address;
if (Array.isArray(param)) {
address = new Buffer(address);
address = new Buffer(param);
}
if (Buffer.isBuffer(param)) {
address = param;
Expand Down

0 comments on commit 525bbff

Please sign in to comment.