From 1732be224630571e57df9fb0156265e77e941f21 Mon Sep 17 00:00:00 2001 From: 223880 Date: Mon, 23 Sep 2024 06:47:32 -0300 Subject: [PATCH] Fix script --- lib/dlc/script.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dlc/script.dart b/lib/dlc/script.dart index fa524fd..cd94a84 100644 --- a/lib/dlc/script.dart +++ b/lib/dlc/script.dart @@ -3,7 +3,8 @@ import 'package:bitcoin_library/script.dart'; void main() { final privateKey = Uint8List.fromList([/* your private key bytes */]); final message = Uint8List.fromList([/* your message bytes */]); - final signature = signMessage(privateKey, message); final script = scriptMessage; + final signature = signMessage(privateKey, message); + final script = scriptMessage; print('Signature: ${signature.toHexString()}'); }