Commit 188216f0 authored by mdj33's avatar mdj33 Committed by vipwzw

modify CreateRawNodeConfigTx

parent 83b16aed
......@@ -160,7 +160,8 @@ func createRawCommitTx(status *ParacrossNodeStatus, name string, fee int64) (*ty
return tx, nil
}
func createRawNodeConfigTx(config *ParaNodeAddrConfig) (*types.Transaction, error) {
// CreateRawNodeConfigTx create raw tx for node config
func CreateRawNodeConfigTx(config *ParaNodeAddrConfig) (*types.Transaction, error) {
config.Title = types.GetTitle()
action := &ParacrossAction{
......
......@@ -121,7 +121,7 @@ func (p ParacrossType) CreateTx(action string, message json.RawMessage) (*types.
glog.Error("CreateTx.NodeConfig", "Error", err)
return nil, types.ErrInvalidParam
}
return createRawNodeConfigTx(&param)
return CreateRawNodeConfigTx(&param)
}
return nil, types.ErrNotSupport
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment