yangdongcheng
yangdongcheng
I am having the same problem. can someone give a sample.
建议新增一个cashback_fee参数,传入后先coin_creator_fee + cashback_fee
测试后发现是discriminators错误,已提交pr
另外,解析EvtSwap2结构错误 以下是来自于idl的正确结构 { "name": "EvtSwap2", "type": { "kind": "struct", "fields": [ { "name": "pool", "type": "pubkey" }, { "name": "trade_direction", "type": "u8" }, { "name": "collect_fee_mode", "type": "u8" }, {...