fix(executor): check asset exchange id in asset_exchange.go
This commit is contained in:
parent
62366d6e95
commit
1899e816b6
|
@ -109,7 +109,8 @@ func AssetExchangeKey(id string) string {
|
|||
}
|
||||
|
||||
func checkAssetExchangeInfo(aei *pb.AssetExchangeInfo) error {
|
||||
if aei.SenderOnDst == "" ||
|
||||
if aei.Id == "" ||
|
||||
aei.SenderOnDst == "" ||
|
||||
aei.ReceiverOnSrc == "" ||
|
||||
aei.SenderOnSrc == "" ||
|
||||
aei.ReceiverOnDst == "" ||
|
||||
|
|
Loading…
Reference in New Issue