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();
}
Aggregations