Skip to main content

assert_duplicates_refused

Function assert_duplicates_refused 

Source
pub(crate) async fn assert_duplicates_refused(
    __arg0: [&Client; 3],
    gw_send: &Gatewayd,
    __arg2: [String; 2],
    invoice: &str,
) -> Result<()>
Expand description

The duplicate-payment assertions for gateways that claim the payment image at intake: one send settles, the gateway refuses the other two without paying or forfeiting anything, so they stay unresolved until their contracts expire, and the gateway is reimbursed exactly once.