Sbcdn/drasil

Why minting tokens when server can't provide request options?

Closed this issue · 0 comments

Why does this endpoint exist (in Heimdallr?

fn api_endpoints() -> impl Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
    resp_option().or(oneshot_minter_api())
}

First, it asks the server for request options. If this doesn't work, then it will mint tokens. Or did I misunderstand something?