multiple contract source for solidity compiler: returns contract array if multiple contracts. fixes #1023
This commit is contained in:
@ -69,6 +69,13 @@ type XEth struct {
|
||||
agent *miner.RemoteAgent
|
||||
}
|
||||
|
||||
func NewTest(eth *eth.Ethereum, frontend Frontend) *XEth {
|
||||
return &XEth{
|
||||
backend: eth,
|
||||
frontend: frontend,
|
||||
}
|
||||
}
|
||||
|
||||
// New creates an XEth that uses the given frontend.
|
||||
// If a nil Frontend is provided, a default frontend which
|
||||
// confirms all transactions will be used.
|
||||
|
Reference in New Issue
Block a user