GetContractStateFromStore from ledger
(hash common.Address)
| 77 | |
| 78 | //GetContractStateFromStore from ledger |
| 79 | func GetContractStateFromStore(hash common.Address) (*payload.DeployCode, error) { |
| 80 | hash = updateNativeSCAddr(hash) |
| 81 | return ledger.DefLedger.GetContractState(hash) |
| 82 | } |
| 83 | |
| 84 | //GetTxnWithHeightByTxHash from ledger |
| 85 | func GetTxnWithHeightByTxHash(hash common.Uint256) (uint32, *types.Transaction, error) { |
nothing calls this directly
no test coverage detected