use of com.hedera.services.ledger.accounts.HederaAccountCustomizer in project hedera-services by hashgraph.
the class BackedSystemAccountsCreatorTest method withExpectedBalance.
private MerkleAccount withExpectedBalance(long balance) throws NegativeAccountBalanceException {
MerkleAccount hAccount = new HederaAccountCustomizer().isReceiverSigRequired(false).proxy(EntityId.MISSING_ENTITY_ID).isDeleted(false).expiry(expiry).memo("").isSmartContract(false).key(genesisKey).autoRenewPeriod(expiry).customizing(new MerkleAccount());
hAccount.setBalance(balance);
return hAccount;
}
Aggregations