Browse Source

Address: Add missing semicolons

patch-2
Braydon Fuller 10 years ago
parent
commit
8f32063375
  1. 10
      lib/address.js

10
lib/address.js

@ -81,7 +81,7 @@ Address._transformHash = function(hash){
} }
info.hashBuffer = hash; info.hashBuffer = hash;
return info; return info;
} };
/** /**
* *
@ -138,7 +138,7 @@ Address._transformBuffer = function(buffer, network, type){
info.network = bufNetwork; info.network = bufNetwork;
info.type = bufType; info.type = bufType;
return info; return info;
} };
/** /**
* *
@ -155,7 +155,7 @@ Address._transformPubkey = function(pubkey){
info.hashBuffer = Hash.sha256ripemd160(pubkey.toBuffer()); info.hashBuffer = Hash.sha256ripemd160(pubkey.toBuffer());
info.type = 'pubkeyhash'; info.type = 'pubkeyhash';
return info; return info;
} };
/** /**
* *
@ -172,7 +172,7 @@ Address._transformScript = function(script){
info.hashBuffer = Hash.sha256ripemd160(script.toBuffer()); info.hashBuffer = Hash.sha256ripemd160(script.toBuffer());
info.type = 'scripthash'; info.type = 'scripthash';
return info; return info;
} };
/** /**
* *
@ -190,7 +190,7 @@ Address._transformString = function(data, network, type){
var addressBuffer = base58check.decode(data); var addressBuffer = base58check.decode(data);
var info = Address._transformBuffer(addressBuffer, network, type); var info = Address._transformBuffer(addressBuffer, network, type);
return info; return info;
} };
/** /**
* *

Loading…
Cancel
Save