CurrentBlockHash from ledger
()
| 52 | |
| 53 | //CurrentBlockHash from ledger |
| 54 | func CurrentBlockHash() common.Uint256 { |
| 55 | return ledger.DefLedger.GetCurrentBlockHash() |
| 56 | } |
| 57 | |
| 58 | //GetBlockFromStore from ledger |
| 59 | func GetBlockFromStore(hash common.Uint256) (*types.Block, error) { |
nothing calls this directly
no test coverage detected