Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Blockchain I';“我得到了这个错误”;订单被资产脚本“拒绝”;在创建仅使用Wave进行交易的智能资产时,如何修复它?_Blockchain_Smartcontracts_Wavesplatform_Ride - Fatal编程技术网

Blockchain I';“我得到了这个错误”;订单被资产脚本“拒绝”;在创建仅使用Wave进行交易的智能资产时,如何修复它?

Blockchain I';“我得到了这个错误”;订单被资产脚本“拒绝”;在创建仅使用Wave进行交易的智能资产时,如何修复它?,blockchain,smartcontracts,wavesplatform,ride,Blockchain,Smartcontracts,Wavesplatform,Ride,我正在尝试创建一个只与WAVES交易的资产,并且我已经使用RIDE语言在WAVES testnet上创建了一个智能资产,但是现在,我无法与WAVES交易此资产,谢谢 let WavesId = base58'WAVES' match tx { case t : ExchangeTransaction => t.sellOrder.assetPair.priceAsset == WavesId || t.sellOrder.assetPair.amountAsset == Wave

我正在尝试创建一个只与WAVES交易的资产,并且我已经使用RIDE语言在WAVES testnet上创建了一个智能资产,但是现在,我无法与WAVES交易此资产,谢谢

let WavesId = base58'WAVES'
match tx {
  case t : ExchangeTransaction => 
  t.sellOrder.assetPair.priceAsset == WavesId || t.sellOrder.assetPair.amountAsset == WavesId
  case _ => true
}
这是错误消息:


对于已定义的交易,您需要确定智能资产是否与以下波形配对:

 let withWaves = (!isDefined(e.sellOrder.assetPair.priceAsset) || !isDefined(e.sellOrder.assetPair.amountAsset))
而不是
t.sellOrder.assetPair.priceAsset==WavesId | | t.sellOrder.assetPair.amountAsset==WavesId