Closed akolotov closed 5 years ago
The method transfer in ERC677BridgeToken has been extended to handle properly the case when it was used to transfer tokens to the bridge contract instead of calling transferAndCall.
transfer
ERC677BridgeToken
transferAndCall
https://github.com/poanetwork/poa-bridge-contracts/blob/e32ef6e1f2cc78a07fd96a321b426a64a2f87132/contracts/ERC677BridgeToken.sol#L57-L68
But the method transferFrom remains unchanged. So, behavior will be inconsistent for the similar functionality.
transferFrom
Included in TokenBridge contracts 2.3.3
The method
transfer
inERC677BridgeToken
has been extended to handle properly the case when it was used to transfer tokens to the bridge contract instead of callingtransferAndCall
.https://github.com/poanetwork/poa-bridge-contracts/blob/e32ef6e1f2cc78a07fd96a321b426a64a2f87132/contracts/ERC677BridgeToken.sol#L57-L68
But the method
transferFrom
remains unchanged. So, behavior will be inconsistent for the similar functionality.