Commit f7633d26 authored by suyanlong's avatar suyanlong

fix bug for execname

parent 3c8ce68e
...@@ -764,9 +764,9 @@ func (p *Paracross) SubmitIBTP(ibtp *pb.IBTP) (*pb.SubmitIBTPResponse, error) { ...@@ -764,9 +764,9 @@ func (p *Paracross) SubmitIBTP(ibtp *pb.IBTP) (*pb.SubmitIBTPResponse, error) {
func (p *Paracross) CreateRawAssetTransferTxExt(param *types33.CreateTx) (*types33.Transaction, error) { func (p *Paracross) CreateRawAssetTransferTxExt(param *types33.CreateTx) (*types33.Transaction, error) {
// 跨链交易需要在主链和平行链上执行, 所以应该可以在主链和平行链上构建 // 跨链交易需要在主链和平行链上执行, 所以应该可以在主链和平行链上构建
if !types33.IsParaExecName(param.GetExecName()) { //if !types33.IsParaExecName(param.GetExecName()) {
return nil, types33.ErrInvalidParam // return nil, types33.ErrInvalidParam
} //}
transfer := &paracorssTypes.ParacrossAction{} transfer := &paracorssTypes.ParacrossAction{}
if !param.IsWithdraw { if !param.IsWithdraw {
......
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