rethrow the error if it wasnt the genesis coinbase

This commit is contained in:
Antoni Spaanderman 2022-01-19 08:27:51 +01:00
parent 7ad85c33b6
commit 142543cc35

View File

@ -35,6 +35,7 @@ class BitcoinApi implements AbstractBitcoinApi {
if (e.message.startsWith('The genesis block coinbase')) { if (e.message.startsWith('The genesis block coinbase')) {
return this.$returnCoinbaseTransaction(); return this.$returnCoinbaseTransaction();
} }
throw e;
}); });
} }