mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
remove unused comment. add method description for RawCreationTransact
This commit is contained in:
parent
1dd531a2ba
commit
bcc305dc20
3 changed files with 34 additions and 34 deletions
|
|
@ -266,6 +266,7 @@ func (c *BoundContract) RawTransact(opts *TransactOpts, calldata []byte) (*types
|
|||
return c.transact(opts, &c.address, calldata)
|
||||
}
|
||||
|
||||
// RawTransact initiates a contract-creation transaction with the given raw calldata as the input.
|
||||
func (c *BoundContract) RawCreationTransact(opts *TransactOpts, calldata []byte) (*types.Transaction, error) {
|
||||
return c.transact(opts, nil, calldata)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -122,7 +122,6 @@ func (d *depTreeDeployer) result() *DeploymentResult {
|
|||
// libraries. If an error occurs, only contracts which were successfully
|
||||
// deployed are returned in the result.
|
||||
func LinkAndDeploy(deployParams *DeploymentParams, deploy DeployFn) (res *DeploymentResult, err error) {
|
||||
//deployParams.inputs = make(map[string][]byte)
|
||||
deployer := newDepTreeDeployer(deployParams, deploy)
|
||||
for _, contract := range deployParams.contracts {
|
||||
if _, err := deployer.linkAndDeploy(contract); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue