Skip to content

Commit

Permalink
Merge pull request #37 from DanGould/fix-core-test
Browse files Browse the repository at this point in the history
Fix core test with `bitcoin:` URI prefix
  • Loading branch information
BitcoinZavior authored Nov 28, 2024
2 parents 0224557 + d651c36 commit f395556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/lib/payjoin_library.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class PayJoinLibrary {
static const localCertFile = "localhost.der";
Future<String> 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) {
Expand Down

0 comments on commit f395556

Please sign in to comment.