Skip to content

Commit af9637b

Browse files
authored
Merge pull request #1450 from tronprotocol/fix/create_child_deposit
create cmd should use child deposit
2 parents a201942 + 0eaae13 commit af9637b

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/org/tron/common/runtime/vm/program

1 file changed

+1
-1
lines changed

src/main/java/org/tron/common/runtime/vm/program/Program.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ public void createContract(DataWord value, DataWord memStart, DataWord memSize)
484484
}
485485
*/
486486

487-
Deposit deposit = getContractState();
487+
Deposit deposit = getContractState().newDepositChild();
488488

489489
//In case of hashing collisions, check for any balance before createAccount()
490490
long oldBalance = deposit.getBalance(newAddress);

0 commit comments

Comments
 (0)