Search in sources :

Example 1 with AllowDelegationFlag

use of com.radixdlt.application.validators.state.AllowDelegationFlag in project radixdlt by radixdlt.

the class UpdateAllowDelegationFlagConstructor method construct.

@Override
public void construct(UpdateAllowDelegationFlag action, TxBuilder builder) throws TxBuilderException {
    builder.down(AllowDelegationFlag.class, action.validatorKey());
    builder.up(new AllowDelegationFlag(action.validatorKey(), action.allowDelegation()));
    builder.end();
}
Also used : AllowDelegationFlag(com.radixdlt.application.validators.state.AllowDelegationFlag)

Aggregations

AllowDelegationFlag (com.radixdlt.application.validators.state.AllowDelegationFlag)1