Skip to main content

write_unasked_move

Function write_unasked_move 

Source
pub(crate) async fn write_unasked_move(
    conn: &mut PgConnection,
    claim: &ClaimedRegistration,
    unasked: UnaskedMove,
) -> CreditRegistrationResult<Applied>
Expand description

write_decision for a move made without asking the study registry, which has no exchange to record. A claim’s own moves go through here too, so they are guarded like every other write.