public void setStore(Store store) { this.store = new ReadOnlyStore(store); List<Field> stateField = ContractUtils.stateStoreFields(contract); ContractUtils.updateContractFields(this.contract, stateField, this.store); }
public void setStore(Store store) { this.store = new ReadOnlyStore(store); List<Field> stateField = ContractUtils.stateStoreFields(contract); ContractUtils.updateContractFields(this.contract, stateField, this.store); }