function getUserTx(address _addr) public view returns (uint[] calldata) {
return usersTx[_addr];
}
mapping (address=>uint[]) public usersTx;
报错
TypeError: Return argument type struct Auction.Tx storage ref[] storage ref is not implicitly convertible to expected type (type of first return variable) struct Auction.Tx calldata[] calldata.
返回数组不是这样操作的吗?