Skip to content

Commit 57d2695

Browse files
committed
src/wallet.js: remove console.log statements
1 parent 7675cf1 commit 57d2695

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/wallet.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ Bitcoin.Wallet = (function () {
3838
if ("string" === typeof pubs) {
3939
pubs = pubs.split(',');
4040
}
41-
console.log(pubs);
4241
if (Array.isArray(pubs) && keys.length == pubs.length) {
4342
for (var i = 0; i < keys.length; i++) {
4443
this.addKey(keys[i], pubs[i]);
@@ -118,7 +117,6 @@ Bitcoin.Wallet = (function () {
118117
pubKeyHash = Crypto.util.bytesToBase64(pubKeyHash);
119118
for (var i = 0; i < this.addressHashes.length; i++) {
120119
if (this.addressHashes[i] == pubKeyHash) {
121-
console.log(Crypto.util.bytesToBase64(Bitcoin.Util.sha256ripe160(keys[i].getPub())), pubKeyHash);
122120
return keys[i].getPub();
123121
}
124122
}
@@ -191,7 +189,6 @@ Bitcoin.Wallet = (function () {
191189
throw new Error('Insufficient funds.');
192190
}
193191

194-
console.log(selectedOuts);
195192

196193
var changeValue = availableValue.subtract(txValue);
197194

@@ -219,10 +216,6 @@ Bitcoin.Wallet = (function () {
219216
sendTx.ins[i].script = Script.createInputScript(signature, this.getPubKeyFromHash(pubKeyHash));
220217
}
221218

222-
console.log(sendTx);
223-
224-
console.log("pubkey: "+Crypto.util.bytesToHex(this.getPubKeyFromHash(pubKeyHash)));
225-
226219
return sendTx;
227220
};
228221

0 commit comments

Comments
 (0)