remove stray debugging log
This commit is contained in:
parent
1fd5b975f1
commit
589adb95c3
@ -160,7 +160,6 @@ class Blocks {
|
|||||||
// Require the first transaction to be a coinbase
|
// Require the first transaction to be a coinbase
|
||||||
const coinbase = transactionMap[txIds[0]];
|
const coinbase = transactionMap[txIds[0]];
|
||||||
if (!coinbase || !coinbase.vin[0].is_coinbase) {
|
if (!coinbase || !coinbase.vin[0].is_coinbase) {
|
||||||
console.log(coinbase);
|
|
||||||
const msg = `Expected first tx in a block to be a coinbase, but found something else`;
|
const msg = `Expected first tx in a block to be a coinbase, but found something else`;
|
||||||
logger.err(msg);
|
logger.err(msg);
|
||||||
throw new Error(msg);
|
throw new Error(msg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user