Update bitcoin-api-factory so we can use core only if needed

This commit is contained in:
nymkappa
2023-01-08 11:24:23 +01:00
parent a56db2c9ae
commit 2e698775f9
3 changed files with 5 additions and 10 deletions

View File

@@ -17,4 +17,6 @@ function bitcoinApiFactory(): AbstractBitcoinApi {
}
}
export const bitcoinCoreApi = new BitcoinApi(bitcoinClient);
export default bitcoinApiFactory();