Skip to content

Commit

Permalink
Merge pull request #2 from kumulynja/fix-assumeInteractiveReceiver
Browse files Browse the repository at this point in the history
fix return value of assumeInteractiveReceiver to MaybeInputsOwned
  • Loading branch information
kumulynja authored Jun 24, 2024
2 parents 3bae24e + d2ed331 commit 14dcc6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/receive/v1.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class UncheckedProposal extends receive.UncheckedProposal {
///Call this method if the only way to initiate a Payjoin with this receiver requires manual intervention, as in most consumer wallets.
/// So-called “non-interactive” receivers, like payment processors,
/// that allow arbitrary requests are otherwise vulnerable to probing attacks. Those receivers call gettransactiontocheckbroadcast() and attesttestedandscheduledbroadcast() after making those checks downstream
Future<receive.MaybeInputsOwned> assumeInteractiveReceiver() async {
Future<MaybeInputsOwned> assumeInteractiveReceiver() async {
try {
final res =
await receive.UncheckedProposal.assumeInteractiveReceiver(ptr: this);
Expand Down

0 comments on commit 14dcc6c

Please sign in to comment.