Beispiel #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())
Beispiel #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())
Beispiel #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())