core: drop unused secondsPerBlock() method
This commit is contained in:
parent
b31e18096f
commit
ca542f11fe
1 changed files with 0 additions and 4 deletions
|
@ -1511,10 +1511,6 @@ func hashAndIndexToBytes(h util.Uint256, index uint32) []byte {
|
||||||
return buf.Bytes()
|
return buf.Bytes()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (bc *Blockchain) secondsPerBlock() int {
|
|
||||||
return bc.config.SecondsPerBlock
|
|
||||||
}
|
|
||||||
|
|
||||||
func (bc *Blockchain) newInteropContext(trigger trigger.Type, d dao.DAO, block *block.Block, tx *transaction.Transaction) *interop.Context {
|
func (bc *Blockchain) newInteropContext(trigger trigger.Type, d dao.DAO, block *block.Block, tx *transaction.Transaction) *interop.Context {
|
||||||
ic := interop.NewContext(trigger, bc, d, bc.contracts.Contracts, block, tx, bc.log)
|
ic := interop.NewContext(trigger, bc, d, bc.contracts.Contracts, block, tx, bc.log)
|
||||||
ic.Functions = [][]interop.Function{systemInterops, neoInterops}
|
ic.Functions = [][]interop.Function{systemInterops, neoInterops}
|
||||||
|
|
Loading…
Reference in a new issue