preExecCheck checks whether preExec pass
(txn *tx.Transaction)
| 75 | |
| 76 | // preExecCheck checks whether preExec pass |
| 77 | func preExecCheck(txn *tx.Transaction) (bool, string) { |
| 78 | _, err := ledger.DefLedger.PreExecuteContract(txn) |
| 79 | if err != nil { |
| 80 | log.Debugf("preExecCheck: failed to preExecuteContract tx %x err %v", |
| 81 | txn.Hash(), err) |
| 82 | } |
| 83 | return true, "" |
| 84 | } |
| 85 | |
| 86 | // TxnActor: Handle the low priority msg from P2P and API |
| 87 | type TxActor struct { |
no test coverage detected