removed testnet

This commit is contained in:
Ben Wilson
2023-07-13 12:27:55 -04:00
parent 602449625b
commit c7399b5b36
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ export class MiningJob {
const addressInfo = getAddressInfo(address); const addressInfo = getAddressInfo(address);
switch (addressInfo.type) { switch (addressInfo.type) {
case AddressType.p2wpkh: { case AddressType.p2wpkh: {
return bitcoinjs.payments.p2wpkh({ address, network: bitcoinjs.networks.testnet }).output; return bitcoinjs.payments.p2wpkh({ address }).output;
} }
case AddressType.p2pkh: { case AddressType.p2pkh: {
return bitcoinjs.payments.p2pkh({ address }).output; return bitcoinjs.payments.p2pkh({ address }).output;
+1 -1
View File
@@ -48,7 +48,7 @@ export class BitcoinRpcService {
capabilities: ['serverlist', 'proposal'] capabilities: ['serverlist', 'proposal']
} }
}); });
console.log(`getblocktemplate tx count: ${result.transactions.length}`);
return result; return result;
} }