From d651c36c45aa69a24ed91cab7d17777fccaabf19 Mon Sep 17 00:00:00 2001 From: DanGould Date: Thu, 7 Nov 2024 13:07:17 -0500 Subject: [PATCH] Fix core test with bitcoin: URI prefix --- example/lib/payjoin_library.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/lib/payjoin_library.dart b/example/lib/payjoin_library.dart index 541cb9a..9724c0a 100644 --- a/example/lib/payjoin_library.dart +++ b/example/lib/payjoin_library.dart @@ -13,7 +13,7 @@ class PayJoinLibrary { static const localCertFile = "localhost.der"; Future buildPjUri(double amount, String address, {String? pj}) async { try { - final pjUri = "$address?amount=$amount&pj=${pj ?? pjUrl}"; + final pjUri = "bitcoin:$address?amount=$amount&pj=${pj ?? pjUrl}"; await pj_uri.Uri.fromStr(pjUri); return pjUri; } catch (e) {