Migrate to new self-hosted mempool.space instance (#1820)

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
Seth For Privacy 2024-11-26 09:56:00 -05:00 committed by GitHub
parent 738731d3e5
commit eff6616981
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -270,7 +270,7 @@ const bitcoinDates = {
Future<int> getBitcoinHeightByDateAPI({required DateTime date}) async {
final response = await http.get(
Uri.parse(
"http://mempool.cakewallet.com:8999/api/v1/mining/blocks/timestamp/${(date.millisecondsSinceEpoch / 1000).round()}",
"https://mempool.cakewallet.com/api/v1/mining/blocks/timestamp/${(date.millisecondsSinceEpoch / 1000).round()}",
),
);