1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

updated simple wallet sc, updated transaction processing code

This commit is contained in:
ton 2019-09-08 20:29:51 +04:00
parent c2da007f40
commit 2b734e170c
3 changed files with 34 additions and 30 deletions

View file

@ -869,12 +869,12 @@ bool Transaction::prepare_compute_phase(const ComputePhaseConfig& cfg) {
if (!(unpack_msg_state() && account.check_split_depth(new_split_depth))) {
LOG(DEBUG) << "cannot unpack in_msg_state, or it has bad split_depth; cannot init account state";
cp.skip_reason = ComputePhase::sk_bad_state;
return false;
return true;
}
if (acc_status == Account::acc_uninit && !check_in_msg_state_hash()) {
LOG(DEBUG) << "in_msg_state hash mismatch, cannot init account state";
cp.skip_reason = ComputePhase::sk_bad_state;
return false;
return true;
}
} else if (acc_status != Account::acc_active) {
// no state, cannot perform transactions