paracross no need to check request type, will check before create tx
@@ -101,12 +101,7 @@ func (p ParacrossType) CreateTx(action string, message json.RawMessage) (*types.
} else if action == "ParacrossTransfer" || action == "Transfer" ||
action == "ParacrossWithdraw" || action == "Withdraw" ||
action == "ParacrossTransferToExec" || action == "TransferToExec" {
- var param types.CreateTx
- err := json.Unmarshal(message, &param)
- if err != nil {
- glog.Error("CreateTx", "Error", err)
- return nil, types.ErrInvalidParam
- }
+
return p.CreateRawTransferTx(action, message)
}
