From c5a0d03eacc0b53a3a503c0cced7699d60fc423f Mon Sep 17 00:00:00 2001 From: creating2morrow Date: Sun, 30 Apr 2023 22:12:05 -0400 Subject: [PATCH] document the prove payment failure --- README.md | 1 + nevmes-gui/src/apps/address_book.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 989e5d0..f6d3cc8 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ NEVidebla-MESago (invisible message) * gui password and screen lock needs fixing up * timeout out JWP payment approval screen with infinite loading +* prove payment edge where payment succeeds but jwp is empty, currently require new payment * message retry login (untested) * test framework (in progress) * docs on all `fn` and `structs` diff --git a/nevmes-gui/src/apps/address_book.rs b/nevmes-gui/src/apps/address_book.rs index 0f6c8a8..71e6539 100644 --- a/nevmes-gui/src/apps/address_book.rs +++ b/nevmes-gui/src/apps/address_book.rs @@ -637,6 +637,8 @@ fn send_payment_req let grace: i64 = seconds-BLOCK_TIME_IN_SECS_EST_I64; let unix: i64 = chrono::offset::Utc::now().timestamp()+grace; write_gui_db(String::from("gui-exp"), String::from(&contact), format!("{}", unix)); + // TODO(c2m): edge case when proving payment fails to complete + // case the payment proof data and set retry logic ctx.request_repaint(); } _ => log::error!("failed to obtain jwp"),