|
|
@ -176,8 +176,6 @@ func (self *StateTransition) TransitionState() (err error) { |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
snapshot := self.state.Copy() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
receiver = self.Receiver() |
|
|
|
receiver = self.Receiver() |
|
|
|
|
|
|
|
|
|
|
|
// If the receiver is nil it's a contract (\0*32).
|
|
|
|
// If the receiver is nil it's a contract (\0*32).
|
|
|
@ -194,6 +192,8 @@ func (self *StateTransition) TransitionState() (err error) { |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
snapshot := self.state.Copy() |
|
|
|
|
|
|
|
|
|
|
|
// Process the init code and create 'valid' contract
|
|
|
|
// Process the init code and create 'valid' contract
|
|
|
|
if IsContractAddr(self.receiver) { |
|
|
|
if IsContractAddr(self.receiver) { |
|
|
|
// Evaluate the initialization script
|
|
|
|
// Evaluate the initialization script
|
|
|
|