Skip to content

Commit

Permalink
fix blockCypher API
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnetwork committed Dec 1, 2023
1 parent 71ffc49 commit ca3902e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.4.0

* Fix blockcypher API

## 1.3.0

* Include a constructor in the address for improved clarity and comprehension.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/provider/api_provider/api_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class ApiProvider {
url, json.encode(digestData));
BlockCypherTransaction? tr;
if (response["tx"] != null) {
tr = BlockCypherTransaction.fromJson(response[["tx"]]);
tr = BlockCypherTransaction.fromJson(response["tx"]);
}

tr ??= BlockCypherTransaction.fromJson(response);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: bitcoin_base
description: A comprehensive Bitcoin library for creating/signing and spending P2PK, P2PKH, P2SH, P2WPKH, P2WSH, Taproot ...
version: 1.3.0
version: 1.4.0
homepage: "https://github.com/mrtnetwork/bitcoin_base"
repository: "https://github.com/mrtnetwork/bitcoin_base"
Author: [email protected]
Expand Down

0 comments on commit ca3902e

Please sign in to comment.