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

View File

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