segmentfaultsegmentfault
注册登录
产品
社群
使用“Bing”搜本站使用“Google”搜本站使用“百度”搜本站✓站内搜索
注册登录
问答博客资讯标签用户活动

logo极客观点logo项目管理logoHarmonyOS
开发者社区

javascript
前端
python
node.js
react
vue.js
php
laravel
go
人工智能
mysql
linux
ios
java
android
css
typescript
spring
程序员

logoONES 研发管理logo思否企业问答logo安谋科技 XPU
问答博客资讯标签用户活动

logo极客观点logo项目管理logoHarmonyOS
开发者社区

javascript
前端
python
node.js
react
vue.js
php
laravel
go
人工智能
mysql
linux
ios
java
android
css
typescript
spring
程序员

logoONES 研发管理logo思否企业问答logo安谋科技 XPU

区块链编译时候一直出错Operator == not compatible with types string storage

头像
鱼唇红
    63177166
    发布于
    2019-05-12

    return (usernames[userListStruct[_username].index] ==_username);
    编译时候总是在这个地方显示Operator == not compatible with types string storage ref and string memory这个错误
    求教 这是什么问题 要怎么改

    区块链solidity
    阅读 3.4k
    撰写回答
    你尚未登录,登录后可以
    • 和开发者交流问题的细节
    • 关注并接收问题和回答的更新提醒
    • 参与内容的编辑和改进,让解决方法与时俱进
    推荐问题
    • 一个用前端ethers框架调用solidity写的合约问题,调用函数一直无反映?
      在执行 pause 调用的时候,一直卡在 “await this._token.pause” 这个函数的地方,这是一个修改合约存储的函数;另对于一些读取合约数据的函数调用,则是没有任何问题的, 清楚到底是哪里的原因。

      1 回答814 阅读

    • 在HyperLedger fabric 2.5中创建网络通道出现`Attempted to include member Org1 which is not in the consortium`问题?
      在HyperLedger fabric 2.5 中创建网络通道时,出现Error: got unexpected status: BAD_REQUEST -- Attempted to include member Org1MSP which is not in the consortium的问题,我的configtx.yaml 文件中consortiums 中包含了org1、org2两个节点,一下是我的configtx.yaml文件

      885 阅读

    宣传栏
    思否旗下产品
    SegmentFault
    思否企业服务
    思否公开课
    思否企业问答
    ONES 旗下产品
    ONES
    Tower
    为知笔记
    企业问答
    ONES.com
    项目管理百科
    资源
    每周精选
    用户排行榜
    帮助中心
    建议反馈
    声望
    勋章
    合作
    关于我们
    广告投放
    联系我们
    合作伙伴
    关注
    产品技术日志
    社区运营日志
    市场运营日志
    社区访谈
    条款
    服务协议
    隐私政策
    下载 App

    Copyright © 2011-2025 SegmentFault. 当前呈现版本 25.06.06

    浙ICP备15005796号-2浙公网安备33010602002000号ICP 经营许可 浙B2-20201554

    杭州堆栈科技有限公司版权所有

    思否 - 凝聚集体智慧,推动技术进步