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) {