5

send 报错Error: Can not send value to non-payable contract method or constructor...

 2 years ago
source link: https://learnblockchain.cn/question/2618
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

send 报错Error: Can not send value to non-payable contract method or constructor 是我前端的原因还是后端的原因

send 报错Error: Can not send value to non-payable contract method or constructor 是我前端的原因还是后端的原因
.png

最佳答案 4天前

看起来应该是你调用的问题,从报错信息来看调用的时候value=0试试

采纳率 33% | 回答于 5天前

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK