mirror of
https://github.com/creating2morrow/neveko.git
synced 2024-12-23 12:09:45 +00:00
document the prove payment failure
This commit is contained in:
parent
34d1600dbc
commit
c5a0d03eac
2 changed files with 3 additions and 0 deletions
|
@ -52,6 +52,7 @@ NEVidebla-MESago (invisible message)
|
||||||
|
|
||||||
* gui password and screen lock needs fixing up
|
* gui password and screen lock needs fixing up
|
||||||
* timeout out JWP payment approval screen with infinite loading
|
* 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)
|
* message retry login (untested)
|
||||||
* test framework (in progress)
|
* test framework (in progress)
|
||||||
* docs on all `fn` and `structs`
|
* docs on all `fn` and `structs`
|
||||||
|
|
|
@ -637,6 +637,8 @@ fn send_payment_req
|
||||||
let grace: i64 = seconds-BLOCK_TIME_IN_SECS_EST_I64;
|
let grace: i64 = seconds-BLOCK_TIME_IN_SECS_EST_I64;
|
||||||
let unix: i64 = chrono::offset::Utc::now().timestamp()+grace;
|
let unix: i64 = chrono::offset::Utc::now().timestamp()+grace;
|
||||||
write_gui_db(String::from("gui-exp"), String::from(&contact), format!("{}", unix));
|
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();
|
ctx.request_repaint();
|
||||||
}
|
}
|
||||||
_ => log::error!("failed to obtain jwp"),
|
_ => log::error!("failed to obtain jwp"),
|
||||||
|
|
Loading…
Reference in a new issue