MCPcopy Create free account
hub / github.com/33cn/chain33 / execLocalSameTime

Method execLocalSameTime

executor/execenv.go:767–779  ·  view source on GitHub ↗
(tx *types.Transaction, receipt *types.Receipt, index int)

Source from the content-addressed store, hash-verified

765}
766
767func (e *executor) execLocalSameTime(tx *types.Transaction, receipt *types.Receipt, index int) error {
768 if e.isExecLocalSameTime(tx, index) {
769 var r = &types.ReceiptData{}
770 if receipt != nil {
771 r.Ty = receipt.Ty
772 r.Logs = receipt.Logs
773 }
774
775 _, err := e.execLocalTx(tx, r, index)
776 return err
777 }
778 return nil
779}
780
781func (e *executor) execLocalTx(tx *types.Transaction, r *types.ReceiptData, index int) (*types.LocalDBSet, error) {
782 kv, err := e.execLocal(tx, r, index)

Callers 2

execTxOneMethod · 0.95
execTxMethod · 0.95

Calls 2

isExecLocalSameTimeMethod · 0.95
execLocalTxMethod · 0.95

Tested by

no test coverage detected