From d2ed3315d34ad26ee932e45d97053d9d2a71c75c Mon Sep 17 00:00:00 2001 From: kumulynja Date: Wed, 19 Jun 2024 22:06:59 +0200 Subject: [PATCH] fix return value of assumeInteractiveReceiver to MaybeInputsOwned --- lib/receive/v1.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/receive/v1.dart b/lib/receive/v1.dart index d436f85..6e84570 100644 --- a/lib/receive/v1.dart +++ b/lib/receive/v1.dart @@ -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 assumeInteractiveReceiver() async { + Future assumeInteractiveReceiver() async { try { final res = await receive.UncheckedProposal.assumeInteractiveReceiver(ptr: this);