예제 #1
0
  public AccountState clone() {
    AccountState accountState = new AccountState();

    accountState.addToBalance(this.getBalance());
    accountState.setNonce(this.getNonce());
    accountState.setCodeHash(this.getCodeHash());
    accountState.setStateRoot(this.getStateRoot());
    accountState.setDirty(false);

    return accountState;
  }