document the prove payment failure

This commit is contained in:
creating2morrow 2023-04-30 22:12:05 -04:00
parent 34d1600dbc
commit c5a0d03eac
2 changed files with 3 additions and 0 deletions

View file

@ -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`

View file

@ -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"),