Skip to main content

load_trail

Function load_trail 

Source
pub async fn load_trail(
    storage: &Arc<dyn Storage>,
    ticker: &str,
) -> Result<Option<StoredTrail>, PaymentError>
Expand description

Load a trail for ticker, or None if it does not exist (JSS loadTrail, token.js:198-203 — a read failure is “no trail”, not an error).