Solidity: How to compare a string with a bytes32 value?

后端 未结 0 1511
春和景丽
春和景丽 2020-12-19 18:08

I\'m trying to check that a string value is equal to a bytes32 value in Solidity, like stringValue == bytes32Value.

As you can see in 1, both variables h

相关标签:
回答
  • 消灭零回复
提交回复
热议问题