Fix canTransferGas()

Tested and working.