Skip to content

Commit

Permalink
4.9.1
Browse files Browse the repository at this point in the history
Resolved issue with transaction deserialization (Issue #9)
  • Loading branch information
mrtnetwork committed Oct 16, 2024
1 parent a2edece commit 3b7db06
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.9.1

* Resolved issue with transaction deserialization (Issue #9)

## 4.9.0

* Correct Bitcoin address network configuration.
Expand Down
16 changes: 8 additions & 8 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ packages:
path: ".."
relative: true
source: path
version: "4.8.0"
version: "4.9.0"
blockchain_utils:
dependency: "direct main"
description:
Expand Down Expand Up @@ -60,10 +60,10 @@ packages:
dependency: "direct main"
description:
name: cupertino_icons
sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
url: "https://pub.dev"
source: hosted
version: "1.0.6"
version: "1.0.8"
fake_async:
dependency: transitive
description:
Expand Down Expand Up @@ -94,10 +94,10 @@ packages:
dependency: "direct main"
description:
name: http
sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938"
sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010
url: "https://pub.dev"
source: hosted
version: "1.2.1"
version: "1.2.2"
http_parser:
dependency: transitive
description:
Expand Down Expand Up @@ -251,10 +251,10 @@ packages:
dependency: transitive
description:
name: web
sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27"
sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb
url: "https://pub.dev"
source: hosted
version: "0.5.1"
version: "1.1.0"
sdks:
dart: ">=3.3.0 <4.0.0"
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.18.0-18.0.pre.54"
3 changes: 1 addition & 2 deletions lib/src/bitcoin/script/script.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ class Script {
scriptBytes.sublist(index, index + bytesToRead)));
index = index + bytesToRead;
} else {
final viAndSize =
IntUtils.decodeVarint(scriptBytes.sublist(index, index + 9));
final viAndSize = IntUtils.decodeVarint(scriptBytes.sublist(index));
int dataSize = viAndSize.item1;
int size = viAndSize.item2;
final lastIndex = (index + size + dataSize) > scriptBytes.length
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: bitcoin_base
description: A versatile library for Bitcoin, Dogecoin, Litecoin, Dash, BSV, and BCH. Supports P2PKH, P2SH, P2WPKH, P2WSH, P2TR, with advanced creation, signing, and spending capabilities.
version: 4.9.0
version: 4.9.1
homepage: "https://github.com/mrtnetwork/bitcoin_base"
repository: "https://github.com/mrtnetwork/bitcoin_base"
Author: mrhaydari.t@gmail.com
Expand All @@ -23,7 +23,7 @@ dependencies:


dev_dependencies:
test: ^1.25.8
test: ^1.25.5
lints: ^4.0.0
flutter_lints: ^4.0.0

Expand Down

0 comments on commit 3b7db06

Please sign in to comment.