ecrterm icon indicating copy to clipboard operation
ecrterm copied to clipboard

Abort payment

Open doczoidberg opened this issue 3 years ago • 3 comments

Is it possible to abort a running payment?

doczoidberg avatar Apr 22 '21 17:04 doczoidberg

I don't think so with the current API

raphaelm avatar Apr 22 '21 19:04 raphaelm

Did you try sending the abort packet? Might not work.

On Thu, 22 Apr 2021, 19:58 Daniel Zuidinga, @.***> wrote:

Is it possible to abort a running payment?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mathiasfrey/ecrterm/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEQBMATGGKIQ2YUKJCGUUTTKBPTNANCNFSM43M73VYA .

g4borg avatar Apr 26 '21 16:04 g4borg

I think the main problem is that payment() blocks, so you'd need a multi-threaded approach or change the API

raphaelm avatar Apr 26 '21 17:04 raphaelm