Commit e2b25d26 authored by heyubin's avatar heyubin

golint

parent b2831b11
// Copyright Fuzamei Corp. 2018 All Rights Reserved. // Copyright Fuzamei Corp. 2018 All Rights Reserved.
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package multisig package multisig
/* /*
......
...@@ -65,11 +65,11 @@ func (c *Jrpc) MultiSigConfirmTx(param *mty.MultiSigConfirmTx, result *interface ...@@ -65,11 +65,11 @@ func (c *Jrpc) MultiSigConfirmTx(param *mty.MultiSigConfirmTx, result *interface
} }
// MultiSigAccTransferInTx :构造在多重签名合约中转账到多重签名账户的交易 // MultiSigAccTransferInTx :构造在多重签名合约中转账到多重签名账户的交易
func (c *Jrpc) MultiSigAccTransferInTx(param *mty.MultiSigExecTransfer, result *interface{}) error { func (c *Jrpc) MultiSigAccTransferInTx(param mty.MultiSigExecTransfer, result *interface{}) error {
if param == nil { //if param == nil {
return types.ErrInvalidParam // return types.ErrInvalidParam
} //}
data, err := types.CallCreateTx(types.ExecName(mty.MultiSigX), "MultiSigExecTransferTo", param) data, err := types.CallCreateTx(types.ExecName(mty.MultiSigX), "MultiSigExecTransferTo", &param)
if err != nil { if err != nil {
return err return err
} }
......
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