Function sentry::routes::channel::add_spender_leaf
source · pub async fn add_spender_leaf<C: Locked + 'static>(
__arg0: Extension<Arc<Application<C>>>,
__arg1: Extension<ChainOf<Channel>>,
__arg2: Path<(ChannelId, Address)>
) -> Result<Json<SpenderResponse>, ResponseError>
Expand description
POST /v5/channel/0xXXX.../spender/0xXXX...
request
Internally to make the validator worker add a spender leaf in NewState
we’ll just update Accounting