Esempio n. 1
0
def handle_update_transport_authdata(
    chain_state: ChainState,
    state_change: ActionUpdateTransportAuthData,
) -> TransitionResult[ChainState]:
    assert chain_state is not None, 'chain_state must be set'
    chain_state.last_transport_authdata = state_change.auth_data
    return TransitionResult(chain_state, list())
Esempio n. 2
0
def handle_update_transport_authdata(
        chain_state: ChainState,
        state_change: ActionUpdateTransportAuthData,
) -> TransitionResult:
    chain_state.last_transport_authdata = state_change.auth_data
    return TransitionResult(chain_state, list())
Esempio n. 3
0
def handle_update_transport_authdata(
        chain_state: ChainState,
        state_change: ActionUpdateTransportAuthData,
) -> TransitionResult:
    chain_state.last_transport_authdata = state_change.auth_data
    return TransitionResult(chain_state, list())