Commit db646ccd authored by hezhengjun's avatar hezhengjun

correct modifier onlyBridgeToken

parent abe9204e
...@@ -88,7 +88,7 @@ contract BridgeBank is GoAssetBank, EvmAssetBank { ...@@ -88,7 +88,7 @@ contract BridgeBank is GoAssetBank, EvmAssetBank {
modifier onlyBridgeToken(address _token) modifier onlyBridgeToken(address _token)
{ {
require( require(
(address(0) == _token) && (msg.value == 0), (address(0) != _token) && (msg.value == 0),
"Only bridge token could be locked and tranfer to contract:evmxgo" "Only bridge token could be locked and tranfer to contract:evmxgo"
); );
_; _;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment