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 d4719245f5
commit fac40b1515
No known key found for this signature in database
GPG key ID: AE0B68E552E5DF8C

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;
}); });
} }